I am trying to use start.session() in an extension on Infor LN 10.7 with the "Extensions Ready for Cloud" option enabled, but it is not working.
start.session()
It returns the message: "Not trusted."
Is not start.session() supported in cloud-ready extensions?
HI @João Silva,
Some cases there are Public DLL to start standart session is so easy to implement like
Look the link documentation
Public Interfaces & Process Extensions Reference Guide (Cloud)
I created a list of session you can start by Public Interface (Publication date: August 25, 2026)
Function
Session
Warehouse.StartOverview
Warehouses (tcemm1112m000)
Contact.StartOverview
Contacts (tccom4540m000)
BusinessPartner.StartOverview
Business Partners (tccom4500m000)
BuyFromBusinessPartner.StartOverview
Buy-from Business Partners (tccom4520m000)
ShipFromBusinessPartner.StartOverview
Ship-from Business Partners (tccom4521m000)
HoldReasons.StartOverview
Hold Reasons (tcmcs2110m000)
Series.StartOverview
First Free Numbers (tcmcs0150m000)
Activities.StartOverview
Activities (tccom6100m000)
CalendarWorkingHours.StartOverview
Calendar Working Hours (tcccp0120m000)
Item.StartOverview
Item General (tcibd0501m000)
ItemBySite.StartOverview
Items by Site General (tcibd1550m000)
ItemCodeSystem.StartOverview
Item Code Systems (tcibd0106m000)
ItemByItemCodeSystem.StartOverview
Item Code System - Items (tcibd0104m000)
ItemPurchase.StartOverview
Items - Purchase (tdipu0101m000)
ItemPurchaseBusinessPartner.StartOverview
Items - Purchase Business Partner (tdipu0110m000)
ItemsByManufacturerPartNumber.StartOverview
Items by MPN (tdipu0149m000)
ItemSalesBusinessPartner.StartOverview
Items - Sales Business Partner Overview (tdisa0510m000)
ItemSalesByOffice.StartOverview
Items - Sales by Office (tdisa0181m000)
ItemPlanning.StartOverview
Items Planning (cprpd1100m000)
SupplyingRelationships.StartOverview
Supplying Relationships (cprpd7130m000)
ItemSupplyingRelationships.StartOverview
Supplying Relationships (cprpd7131m000)
LotAndSerialSet.StartOverview
Lot and Serial Set (tcibd4111m000)
AlternativeItem.StartOverview
Alternative Items (tcibd0505m000)
ConversionFactor.StartOverview
Conversion Factor (tcibd0103m000)
SourcingStrategy.StartOverview
Sourcing Strategy (cprpd7110m000)
SupplyStrategy.StartOverview
Supply Strategy (cprpd7120m000)
ActiveSuppliersByPlanItem.StartOverview
Active Suppliers By Plan Item (cprpd1500m000)
ActiveSupplySources.StartOverview
Active Supply Sources Overview (cprpd7150m000)
SerializedItem.StartOverview
Serialized Items (tcibd4501m000)
Requirements.StartOverview
Requirements (tcuef0106m000)
EngineeringBillOfMaterial.StartOverview
Engineering Bill of Material (tiedm1110m000)
EngineeringItem.StartOverview
Engineering Item (tiedm0110m000)
Opportunities.StartOverview
Opportunities Overview (tdsmi1110m000)
SalesOffices.StartOverview
Sales Offices (tdsls0512m000)
SalesQuotes.StartOverview
Sales Quotations Overview (tdsls1500m000)
SalesContracts.StartOverview
Sales Contracts (tdsls3500m000)
SalesContractLines.StartOverview
Sales Contract Lines (tdsls3501m000)
SalesOrders.StartOverview
Sales Orders Overview (tdsls4100m000)
SalesOrderLines.ReleaseManualActivities.StartOverview
Release Manual Activities Sales Order Lines (tdsls4501m150)
Rebates.StartOverview
Rebates Overview (tdcms2550m000)
Commissions.StartOverview
Commissions Overview (tdcms1550m000)
Catalog.StartOverview
Catalogs (tdpct0510m000)
RequestForQuoteLines.StartOverview
Request for Quotation Lines (tdpur1502m100)
PurchaseOrders.StartOverview
Purchase Orders (tdpur4100m000)
PurchaseOrderLines.StartOverview
Purchase Order Lines Overview (tdpur4101m000)
PurchaseOrderMaterialSupplyLines.StartOverview
Purchase Order Material Supply Lines Overview (tdpur4116m000)
SupplierStagePaymentLines.StartOverview
Supplier Stage Payments Overview (tdpur5120m000)
PriceBooks.StartOverview
Price Books Overview (tdpcg0111m000)
PriceBookLines.StartOverview
Price Book Lines Overview (tdpcg0131m000)
SalesPriceMatrices.StartOverview
Sales Price Matrices Overview (tdpcg0130m010)
PlanItemExceptionMessageTotals.StartOverview
Exception Messages by Planner (cprao1120m000)
PlannedOrders.StartOverview
Planned Orders (cprrp1100m000)
PlannedOrderDistribution.StartOverview
Planned Order Distribution (cprrp1105m000)
PlannedCostPegTransfers.StartOverview
Planned Cost Peg Transfers (cprrp0130m000)
ExceptionMessages.StartOverview
Exception Messages (cprao1125m000)
SimulatedPurchasePrices.StartOverview
Simulated Purchase Prices (ticpr1170m000)
CalculatedItemCosts.StartOverview
Calculated Item Costs (ticpr2501m000)
ItemCosting.StartOverview
Item - Costing (ticpr0107m000)
AsBuilt.StartOverview
Serial End Item - As-Built Headers (timfc0110m000)
BillOfMaterialLines.StartOverview
Bill of Material (tibom1110m000)
ItemRoutingOperations.StartOverview
Routing Operations (tirou1102m000)
JobShopBillOfMaterial.StartOverview
Job Shop Bill of Material (tibom3600m000)
ItemRoutings.StartOverview
Item Routings (tirou1101m000)
ProductVariant.StartOverview
Product Variants (tipcf5501m000)
ConfigurableItemConstraintIDs.StartOverview
Configurable Item - Constraint IDs (tipcf2101m000)
ConfigurableItemGenericBillOfMaterial.StartOverview
Generic Bill of Material (tipcf3110m000)
ConfigurableItemGenericPriceLists.StartOverview
Generic Price Lists (tipcf4101m000)
ConfigurableItemGenericRouting.StartOverview
Generic Routing (tipcf3120m000)
ConfigurableItemProductFeatures.StartOverview
Product Features by Configurable Item (tipcf1101m000)
StandardItemConfigurationsOptions.StartOverview
Standard Item - Configurations Options (tipcf5160m000)
ProductVariantOptions.StartOverview
Product Variant Options (tipcf5520m000)
ProductionOrders.StartOverview
Production Orders (tisfc0501m000)
WorkCenters.StartOverview
Work Centers (tirou0101m000)
JobShopTasks.StartOverview
Tasks (Reference Operations) (tirou0103m000)
UtilizationByWeek.StartOverview
Utilization by Week (tisfc1502m000)
SubcontractedOperations.StartOverview
Subcontracted Operations (tisfc2110m000)
ConfigurableStructures.StartOverview
Configurable Structures (tipcf3150m000)
MaterialToIssueForProductionOrders.StartOverview
Material to Issue for Production Orders (ticst0101m100)
OperationStepsByProductionOrder.StartOverview
Operation Steps by Production Order (tisfc0121m000)
WhereUsedJobShopListOfMaterial.StartOverview
Where-Used Job Shop List of Materials (tibom3110m100)
ProductionPlanning.StartOverview
Production Planning (tisfc0110m000)
MachineOperation.StartOverview
Machine Operations (tisfc4100m000)
InstructionsByOperationStep.StartOverview
Instructions by Operation/Step (tisfc0142m000)
EstimatedToolRequirement.StartOverview
Estimated Tool Requirement (titrp0111m000)
AdjustmentOrder.StartOverview
Adjustment Orders (whinh5100m000)
ItemWarehouse.StartOverview
Item Data by Warehouse (whwmd21100s000)
CycleCountingOrder.StartOverview
Cycle Counting Orders (whinh5100m000)
ItemWarehouseFixedLocation.StartOverview
Fixed Locations (whwmd3502m000)
ItemWarehouseInventoryTransaction.StartOverview
Item - Warehouse - Inventory Transactions (whinr1510m000)
OrderInventoryTransaction.StartOverview
Order - Inventory Transactions (whinr1511m000)
ItemIssueByPeriod.StartOverview
Item Issue by Period (whinr1520m000)
ItemIssueByWarehouseAndPeriod.StartOverview
Item Issue by Warehouse and Period (whinr1530m000)
PlannedInventoryTransaction.StartOverview
Planned Inventory Transactions (whinp1500m000)
SiteItemInventory.StartOverview
Site - Item Inventory (whwmd4504m100)
WarehouseItemRentalInventory.StartOverview
Warehouse - Item - Rental Inventory (whwmd2515m200)
WarehouseItemInventory.StartOverview
Warehouse - Item Inventory (whwmd2515m000)
WarehouseReceipt.StartOverview
Warehouse Receipts Overview (whinh3110m000)
StockPointInventory.StartOverview
Stock Point Inventory (whinr1540m000)
StockPointTransactions.StartOverview
Stock Point Transactions (whinr1500m000)
Warehouses (whwmd2500m000)
WarehouseLocation.StartOverview
Warehouse Locations (whwmd3500m000)
CompanyItemInventory.StartOverview
Company - Item Inventory (whwmd4100m100)
ShipmentNotice.StartOverview
Shipment Notices (whinh3100m000)
WarehouseOrder.StartOverview
Warehousing Orders (whinh2100m000)
HandlingUnit.StartOverview
Handling Units (whwmd5130m000)
InboundAdvice.StartOverview
Inbound Advice (whinh3525m000)
ProjectCostPegTransfer.StartOverview
Project Cost Peg Transfer (whinh1140m000)
ProjectCostPegTransferLine.StartOverview
Project Cost Peg Transfer Lines (whinh1145m000)
Lot.StartOverview
Item - Lot (whltc1100m000)
LotInventoryByWarehouseAndItem.StartOverview
Warehouse - Item - Lots Inventory (whltc1505m000)
SerialsByWarehouse.StartOverview
Item - Serials and Warehouses (whltc5100m000)
ItemLotSerialTransactions.StartOverview
Item - Lot - Serial Transactions (whltc3510m000)
Load.StartOverview
Loads (whinh4140m000)
Shipment.StartOverview
Shipments (whinh4130m000)
ShipmentLine.StartOverview
Shipment Lines (whinh4131m000)
ShipmentLineStockPointDetails.StartOverview
Shipment Line Stock Point Details (whinh4133m000)
OutboundAdvice.StartOverview
Outbound Advice (whinh4525m000)
QuarantineInventory.StartOverview
Quarantine Inventory (whwmd2171m000)
QuarantineInventoryDisposition.StartOverview
Quarantine Inventory Disposition (whwmd2172m000)
ProjectPeggedInventory.StartOverview
Project Pegged Inventory (whwmd2560m000)
ReceiptLineStockPointDetails.StartOverview
Receipt Line Stock Point Details (whinh3123m000)
PickingList.StartOverview
Picking List (whinh4525m100)
WarehouseInspection.StartOverview
Warehouse Inspection (whinh3122m000)
WarehouseInspectionLine.StartOverview
Warehouse Inspection Lines (whinh2131m000)
PurchaseOrderAdvice.StartOverview
Purchase Order Advice (whina3110m000)
ProductionOrderAdvice.StartOverview
Production Order Advice (whina3100m000)
PrepackingAdvice.StartOverview
Prepacking Advice (whwmd5140m000)
ShipmentPlanning.StartOverview
Outbound Line - Shipment Planning Requirements (whinh4183m000)
Serialized Items (tscfg2100m000)
ServiceInspections.StartOverview
Inspections (tscfg3100m000)
Call.StartOverview
Calls Overview (tsclm1509m000)
ServiceOrder.StartOverview
Service Orders Overview (tssoc2100m000)
ServiceQuote.StartOverview
Quotes Overview (tsepp1100m000)
MaintenanceSalesOrder.StartOverview
Maintenance Sales Orders Overview (tsmsc1100m000)
WorkOrder.StartOverview
Work Orders (tswcs2100m000)
PlannedActivity.StartOverview
Planned Activities (tsspc2100m000)
CustomerClaim.StartOverview
Customer Claims Overview (tscmm1100m000)
ProjectContractLines.StartOverview
Contract Lines (tpctm1110m000)
ProjectActivities.StartOverview
Activities (tppss2100m000)
ProjectCostingBreaksServiceActivities.StartOverview
Costing Breaks - Service Activities (tppdm3106m000)
ProjectCostTransactions.StartOverview
Cost Transactions (tpppc2100m000)
ProjectFinancialTransactions.StartOverview
Financial Transactions (tpppc2100m100)
PlannedPRPWarehouseOrders.StartOverview
Planned PRP Warehouse Order (tppss6115m000)
ProjectAdvancePayments.StartOverview
Advance Payments (tppin4110m000)
ProjectInstallments.StartOverview
Installments (tppin4151m000)
ProjectHoldback.StartOverview
Holdback (tppin4140m000)
ProjectActivityBudgetOverview.StartOverview
Activity Budget Overview (tpptc2100m000)
ProjectOrderLineBalance.StartOverview
Order Line Balance - Materials (tppss6500m000)
Order Line Balance - Equipment (tppss6501m000)
Order Line Balance - Subcontracting (tppss6502m000)
CorrectiveActionPlan.StartOverview
Corrective Action Plan (qmcpl1100m000)
TestingCombinations.StartOverview
Testing Combinations (qmptc0119m000)
QualityUserProfile.StartOverview
Quality User Profiles (qmptc0130m000)
AccountsReceivable.StartOverview
Accounts Receivable 360 (tfacr2560m000)
InvoiceToBusinessPartnerOpenEntries.StartOverview
Invoice To BP Open Entries (tfacr2520m000)
ReceiptDetails.StartOverview
Receipt Details (tfacr2538m000)
PLMFolder.StartOverview
Folders (pdpdm3500m000)
ProductionOrderHours.StartOverview
Production Order Hours (bptmm1120m000)
GeneralHours.StartOverview
General Hours (bptmm1111m200)
ExchangeLogBatchLineLevel.StartOverview
Log Table (Batch Line Level) (daxch0509m000)
Documents.StartOverview
Documents (ttrpi3510m000)
The function start.session() is only trusted when being used with 'tx' components.
"In the following case it is possible to use this function in a not trusted object:
If you need to start a standard session, a public interface is required.
As LN 10.7 is in extended maintenance, there won't be public interfaces added anymore to that release. A workaround could be to disable the 'Extensions Ready for Cloud' setting in the 'Extensibility Parameters' (ttext0100m000), which would allow to call standard libraries and non-trusted functions in LN on-premise. Then request the public interface for LN CE so once you are ready to move to the cloud, you can replace the non-trusted code with the public interfaces.