RMS.Customizer/RMS.Customizer/WorkdeskHasESet.cs
Decompiler Source FileRMS.Customizer.WorkdeskHasESetDecompiled Source
Interpretation
- Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.
Relations
- Method registration: CreateITShopWorkdeskOrder at line 13
Typed Edges
- No typed edges extracted for this source.
References
- No direct source references extracted.
Referenced By
- No direct source references extracted.
C# source-derived context
Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.
references DB/Dialog objects IT Shop related markers
Summary: classes WorkdeskHasESet; methods CreateITShopWorkdeskOrder; references AccProduct, ESet, Person, WorkDesk, WorkDeskHasESet; markers references DB/Dialog objects, IT Shop related markers
Classes
WorkdeskHasESetMethods
DB/Dialog object references
OIM key/entity markers
UID_ESet UID_AccProduct UID_WorkdeskAPI/entity calls
None extracted.Registrations / handlers
None extracted.
Complete Source
1using System;2using System.Threading;3using System.Threading.Tasks;4using QER.Customizer;5using VI.DB.Entities;67namespace RMS.Customizer;89public class WorkdeskHasESet : StateBasedEntityLogic10{11 public WorkdeskHasESet()12 {13 RegisterMethod("CreateITShopWorkdeskOrder").As<string, string>(CreateITShopWorkdeskOrder).Description("Method_CreateITShopWorkdeskOrder").Enabled()14 .Default(value: false)15 .Enabled()16 .From("XOrigin")17 .As<int>((Func<int, bool>)((int xOrigin) => (xOrigin & 8) == 0))18 .Visible()19 .Default(value: false)20 .Visible()21 .From("XOrigin")22 .As<int>((Func<int, bool>)((int xOrigin) => (xOrigin & 8) == 0));23 }2425 private System.Threading.Tasks.Task CreateITShopWorkdeskOrder(ISession session, IEntity entity, string uidPerson, string customScriptName, CancellationToken ct)26 {27 //IL_0016: Unknown result type (might be due to invalid IL or missing references)28 using (StartInternalProcess())29 {30 return ITShopHelperAsync.CreateWorkdeskITShopOrder(session, entity, "FK(UID_ESet).UID_AccProduct", "UID_Workdesk", uidPerson, customScriptName, ct);31 }32 }33}34