<?xml version="1.0"?>
<doc>
    <assembly>
        <name>PACoreApi</name>
    </assembly>
    <members>
        <member name="M:PACoreApi.Controllers.DBObjectsController.PostProcs(PACoreApi.Common.ProceduresParams)">
            <summary>
            Execute stored procedure(s) and create PA temp tables.
            </summary>
            <remarks>
            Execute stored procedure(s) and create PA temp tables.
            
            <a href="https://usersite.datalab.eu/wiki/tabid/178/language/en-us/topic/dbobjects/htmlid/1000002241/default.aspx">Additional info in Help</a> 
            
                {
                  "procedures" : [
                  {
                  "procname": "pHE_SubjContact",
                  "procparams": {"p_cSubject":""}
                  },
                  {
                  "procname": "pHE_PrintOrderItemsForInvoice",
                  "procparams": {"p_cKeyInvoice": "1910000000011"}
                  }],
                  "tempTables": ["lHE_MoveESlogImp"]
                }
                
            </remarks>
            <param name="procparams"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.DBObjectsController.PostTable(PACoreApi.Common.SelectParams)">
            <summary>
            Select data from table(s) and create PA temp tables.
            </summary>
            <remarks>
            Select data from table(s) and create PA temp tables.
            
                {
                  "start": 0,
                  "length": 0,
                  "fieldsToReturn": "items.acIdent, items.acName",
                  "tableFKs": [{
                      "table": "tHE_SetItemType",
                      "join": "AcSetOfItemNavigation.acSetOfItem = items.acSetOfItem",
                      "alias": "AcSetOfItemNavigation",
                      "fieldsToReturn": "acSetOfItem, acType, acName"
                    }
                    ],  
                  "customConditions": {"condition": " items.acIdent like @param1", "params": ["%PI%"]},
                  "sortColumn": "",
                  "sortOrder": "",
                  "WithSubSelects": 1,
                  "masterTable": {
                    "table": "tHE_SetItem",
                    "alias": "items"
                  },
                  "tempTables": []
                }        
                     
            </remarks>
            <param name="conditions"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.DBObjectsController.Post(PACoreApi.Common.InsertParams)">
            <summary>
            Insert data to a table with columns.
            </summary>
            <param name="insertParams"></param>
        </member>
        <member name="M:PACoreApi.Controllers.DBObjectsController.Put(PACoreApi.Common.UpdateParams)">
            <summary>
            Update data in an existing table with columns and an optional condition.
            </summary>
            <param name="updateParams"></param>
        </member>
        <member name="M:PACoreApi.Controllers.DBObjectsController.Delete(PACoreApi.Common.DeleteParams)">
            <summary>
            Deletes data from table(s) base on condition(s)
            </summary>
            <remarks>
            Deletes data from table(s) base on condition(s)
            
               {
                  "tableFKs": [{
                      "table": "tHE_SetItemType",
                      "join": "AcSetOfItemNavigation.acSetOfItem = items.acSetOfItem",
                      "alias": "AcSetOfItemNavigation",
                      "fieldsToReturn": "acSetOfItem, acType, acName"
                    }
                ],  
                  "customConditions": {"condition": " items.acIdent like @param1", "params": ["%666PI%"]
                    },
                  "masterTable": {
                    "table": "tHE_SetItem",
                    "alias": "items"
                    }
               }
            
            </remarks>
            <param name="conditions"></param>
            <returns></returns>
        </member>
        <member name="T:PACoreApi.Controllers.IdentController">
            <summary>
            Methods for updating Items
            </summary>
        </member>
        <member name="M:PACoreApi.Controllers.IdentController.GetPicture(System.String)">
            <summary>
            Get item image.
            </summary>
            <param name="ident"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.IdentController.GetWithConditions(PACoreApi.Common.SelectParamsNoTable)">
            <summary>
            Get all items with all their information (all fields).
            </summary>
            <remarks>
            Get all items with all their information (all fields).
            
                {
                  "start": 0,
                  "length": 0,
                  "fieldsToReturn": "items.acIdent, items.acName",
                  "tableFKs": [{
                      "table": "tHE_SetItemType",
                      "join": "AcSetOfItemNavigation.acSetOfItem = items.acSetOfItem",
                      "alias": "AcSetOfItemNavigation",
                      "fieldsToReturn": "acSetOfItem, acType, acName"
                    }
                    ],  
                  "customConditions": {"condition": " items.acIdent like @param1", "params": ["%LARA%"]},
                  "sortColumn": "",
                  "sortOrder": "",
                  "WithSubSelects": 1,
                  "tempTables": []
                }        
                     
            </remarks>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.IdentController.Post(PACoreApi.ModelsDTO.DTOTHeSetItem)">
            <summary>
            Insert an item into the database.
            </summary>
            <remarks>
            Insert an item into the database. \
            You need to fill json object as in the body example value
            </remarks>
            <param name="identDTO"></param>
        </member>
        <member name="M:PACoreApi.Controllers.IdentController.Put(PACoreApi.ModelsDTO.DTOTHeSetItem)">
            <summary>
            Update an existing item in the database.
            </summary>
            <remarks>
            Update an existing item in the database. \
            You need to fill json object as in the body example value
            </remarks>
            <param name="identDTO"></param>
        </member>
        <member name="M:PACoreApi.Controllers.IdentController.GetItemCalc(PACoreApi.Common.ConditionsParamsNoTable)">
            <summary>
            Retrieve ident calculations
            </summary>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.GetWithConditions(PACoreApi.Common.SelectParamsNoTable)">
            <summary>
            Gets move documents
            </summary>
            <remarks>
            Gets move documents
            
                { 
                  "start": 0,
                  "length": 0,
                  "fieldsToReturn": "",
                  "tableFKs": [
                    {
                      "table": "tHE_MoveItem",
                      "join": "moveitem.acKey = move.acKey",
                      "alias": "moveitem"
                    }
                  ],
                  "customConditions": {"condition": " move.acKey = @param1", "params": ["2013000000011"]},
                  "sortColumn": "",
                  "sortOrder": "",
                  "WithSubSelects": 1,
                  "tempTables": []
                }
                
            </remarks>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.CreateInvoice(PACoreApi.ModelsDTO.InputParams.InvoiceCreateData)">
            <summary>
            Inserts move document
            </summary>
            <remarks>
            Inserts move document
            
                {
                  "receiverId": "DATALAB d.d.",
                  "issuerId": "Veleprodajno skladišče",
                  "thirdPartyId": "DATALAB d.d.",
                  "status": "N",
                  "wayOfSale": "Z",
                  "docType": "3000",
                  "date": "2023-12-08",
                  "dateDue": "2023-12-08",
                  "invoiceDate": "2023-12-08",
                  "taxDate": "2023-12-08",
                  "paymentMethodId": "",
                  "expectedDeliveryDate": "2023-12-08",
                  "orderDate": "2023-12-08",
                  "orderFormDate": "2023-12-08",
                  "invoiceItems": [
                    {
                      "ident": "STRCAR",
                      "name": "Strosek zaracunane carine",
                      "anNo": 1,
                      "quantity": 1,
                      "price": 6.45,
                      "rabate": 15,
                      "vat": 0,
                      "vatCode": "NN",
                      "note": ""
                    },
                    {
                      "ident": "STRCAR",
                      "name": "Strosek zaracunane carine",
                      "anNo": 2,
                      "quantity": 1,
                      "price": 7.45,
                      "rabate": 25,
                      "vat": 0,
                      "vatCode": "NN",
                      "note": ""
                    }
                  ]
                }
            
            </remarks>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.UpdateInvoice(PACoreApi.ModelsDTO.InputParams.InvoiceUpdateData,System.Boolean)">
            <summary>
            Updates move document
            </summary>
            <remarks>
            Updates move document
            
                {
                  "acKey": "2330000000010",
                  "receiverId": "DATALAB d.d.",
                  "issuerId": "Veleprodajno skladišče",
                  "thirdPartyId": "DATALAB d.d.",
                  "status": "N",
                  "wayOfSale": "Z",
                  "docType": "3000",
                  "date": "2023-12-08",
                  "dateDue": "2023-12-08",
                  "invoiceDate": "2023-12-08",
                  "taxDate": "2023-12-08",
                  "paymentMethodId": "",
                  "expectedDeliveryDate": "2023-12-08",
                  "orderDate": "2023-12-08",
                  "orderFormDate": "2023-12-08",
                  "invoiceItems": [
                    {
                      "ident": "STRCAR",
                      "name": "Strosek zaracunane carine",
                      "anNo": 1,
                      "quantity": 1,
                      "price": 6.333,
                      "rabate": 15,
                      "vat": 0,
                      "vatCode": "NN",
                      "note": ""
                    },
                    {
                      "ident": "STRCAR",
                      "name": "Strosek zaracunane carine",
                      "anNo": 2,
                      "quantity": 1,
                      "price": 7.333,
                      "rabate": 15,
                      "vat": 0,
                      "vatCode": "NN",
                      "note": ""
                    }
                  ]
                }
            
            </remarks>
            <param name="data"></param>
            <param name="overwriteitems"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.UpdateInvoiceItems(System.Collections.Generic.List{PACoreApi.ModelsDTO.InputParams.InvoiceItemUpdateData},System.Boolean)">
            <summary>
            Updates move document items
            </summary>
            <remarks>
            Updates move document items
            
                [
                  {
                    "acKey": "2330000000010",
                    "ident": "STRCAR",
                    "name": "Strosek zaracunane carine",
                    "anNo": 1,
                    "quantity": 1,
                    "price": 6.222,
                    "rabate": 15,
                    "vat": 0,
                    "vatCode": "NN",
                    "note": ""
                  },
                  {
                    "acKey": "2330000000010",
                    "ident": "STRCAR",
                    "name": "Strosek zaracunane carine",
                    "anNo": 2,
                    "quantity": 1,
                    "price": 7.222,
                    "rabate": 15,
                    "vat": 0,
                    "vatCode": "NN",
                    "note": ""
                  }
                ]
            
            </remarks>
            <param name="data"></param>
            <param name="overwriteitems"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.RemoveInvoice(System.String)">
            <summary>
            Deletes move document
            </summary>
            <remarks>
            Deletes move document
            </remarks>
            <param name="acKey"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.RemoveInvoiceItem(PACoreApi.ModelsDTO.InputParams.InvoiceItemRemoveData)">
            <summary>
            Deletes move document item
            </summary>
            <remarks>
            Deletes move document item
            </remarks>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.GetDocTypes(PACoreApi.Common.ConditionsParamsNoTableWithFields)">
            <summary>
            Retrieve document types
            </summary>
            <remarks>
            Retrieve document types
            
                {
                  "customConditions": {
                    "condition": "acType = @param1 and acAcctCR = @param2",
                    "params": [
                      "I", "1200"
                    ]
                    },
                  "fieldsToReturn": "acDocType, acSetOf, acType, acIsInternalMovmnt, acIsDoc, acName, acShortDocName, acSetOfSub, acAcct, acAcctDB, acAcctCR, acIssuer, acReceiver, acPrsn3, acFillPrice, acFillPurPrice, acFillRecvCalc, acFillProdPrice, acDocTypeCashRegPreePay, acDocTypeCashRegPay, acDocTypeRef, acProdDisAssDocTypeIn, acProdDisAssDocTypeOut, acTypeOfDoc, acIsSupplRMA, acIsBuyerRMA"
                }
            
            </remarks>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.GetDocStatuses(PACoreApi.Common.ConditionsParamsNoTableWithFields)">
            <summary>
            Retrieve stauses for document type
            </summary>
            <remarks>
            Retrieve stauses for document type
            
                {
                  "customConditions": {
                    "condition": "acDocType = @param1",
                    "params": [
                      "0100"
                    ]
                    },
                  "fieldsToReturn": "acDocType, acStatus, acName, acFreeStock, acLimitControl, acIsIssueAllowdOpenBills, acFinished"
                }
            
            </remarks>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.ChangeDocStatus(System.String,System.String)">
            <summary>
            Changes document status
            </summary>
            <remarks>
            Changes document status
            </remarks>
            <param name="acKey"></param>
            <param name="docStatus"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.AddItemsToMoveOutFromDocs(PACoreApi.ModelsDTO.MoveSPParams.TransferFromMoveToMoveData)">
            <summary>
            Adds idents to move OUT document from other document(s)
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.AddItemsToMoveInFromDocs(PACoreApi.ModelsDTO.MoveSPParams.TransferFromMoveToMoveData)">
            <summary>
            Adds idents to move IN document from other document(s)
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.MoveController.AddItemsToMoveTransferFromDocs(PACoreApi.ModelsDTO.MoveSPParams.TransferFromMoveToMoveData)">
            <summary>
            Adds idents to move TRANSFER document from other document(s)
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.OrderController.GetWithConditions(PACoreApi.Common.SelectParamsNoTable)">
            <summary>
            Gets order documents
            </summary>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.OrderController.Update(PACoreApi.ModelsDTO.InputParams.OrderCreateData)">
            <summary>
            Inserts/updates order document
            </summary>
            <remarks>
            Inserts/updates order document
            </remarks>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.OrderController.UpdateItem(PACoreApi.ModelsDTO.InputParams.OrderItemCreateData)">
            <summary>
            Inserts/updates single line of order document
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.OrderController.CreateDocumentFromOrder(PACoreApi.ModelsDTO.InputParams.OrderCreateNewDocumentRequest)">
            <summary>
            Create document from Order
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.OrderController.CreateOrderFromOrder(PACoreApi.ModelsDTO.InputParams.OrderCreateNewOrderRequest)">
            <summary>
            Create order from Order
            </summary>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.StockController.GetStock(PACoreApi.ModelsDTO.InputParams.StockData)">
            <summary>
            Displays curent stock information 
            </summary>
            <remarks>
            Displays curent stock information,
            
            sample:
            
                {
                  "ident": "LARA3_FLOOR",
                  "dateOfStock": "2023-12-22T11:53:47.536Z",
                  "identsCategory": "100, 200, 201, 202, 210, 211, 300, 400, 500, 600, 800",
                  "onlyCustomsWarehouses": false,
                  "includeCustomsWarehouses": true,
                  "priceType": 0,
                  "identsType": 0,
                  "identsActive": 0
                }
                
            </remarks>
            <param name="data"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.SubjectController.GetWithConditions(PACoreApi.Common.SelectParamsNoTable)">
            <summary>
            Get all subjects with all their data.
            </summary>
            <remarks>
            Get all subjects with all their data.
            
                {
                  "start": 0,
                  "length": 0,
                  "fieldsToReturn": "subjects.acSubject, subjects.acName2, subjects.acAddress, subjects.acCountry",
                  "tableFKs": [{
                      "table": "tHE_SetCountry",
                      "join": "acCountryNavigation.acCountry=subjects.acCountry",
                      "alias": "acCountryNavigation",
                      "fieldsToReturn": "acCountryNavigation.acCurrency, acCountryNavigation.acCallingCode, acCountryNavigation.acLanguage"
                    }
                    ],  
                  "customConditions": {"condition": " subjects.acSubject like @param1", "params": ["%BANKA%"]},
                  "sortColumn": "",
                  "sortOrder": "",
                  "WithSubSelects": 1,
                  "tempTables": []
                }
                
            </remarks>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Controllers.SubjectController.Post(PACoreApi.ModelsDTO.DTOTHeSetSubj)">
            <summary>
            Insert a subject into the database.
            </summary>
            <remarks>
            Insert a subject into the database. \
            You need to fill json object as in the body example value
            </remarks>
            <param name="subjDTO"></param>
        </member>
        <member name="M:PACoreApi.Controllers.SubjectController.Put(PACoreApi.ModelsDTO.DTOTHeSetSubj)">
            <summary>
            Update an existing subject in the database.
            </summary>
            <remarks>
            Update an existing subject in the database. \
            You need to fill json object as in the body example value
            </remarks>
            <param name="subjDTO"></param>
        </member>
        <member name="M:PACoreApi.Controllers.SubjectController.GetSubjectContact(PACoreApi.Common.ConditionsParamsNoTable)">
            <summary>
            Retrieve subject contacts
            </summary>
            <param name="conditionsNoTable"></param>
            <returns></returns>
        </member>
        <member name="M:PACoreApi.Managers.IdentManager.GetIdentsBy_acIdent(System.String,Microsoft.Data.SqlClient.SqlConnection,System.Boolean)">
            <summary>
            Get single ident
            </summary>
            <param name="acIdent"></param>
            <param name="connRoot"></param>
            <param name="aSync"></param>
            <returns></returns>
        </member>
    </members>
</doc>
