Class FCDR
Inheritance
System.Object
FCDR
Inherited Members
FCDRBase._create_dr_mtl(Int32, String, String, Int32, Int16, String, String, Int16, String, String, String, String, String)
FCDRBase._modify_dr_mtl(Int32, String, String, Int32, Int16, String, String, Int16, String, String, String, String, String)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FChoice.Foundation.Clarify.Compatibility.Toolkits.dll
[Guid("E3D1915E-3932-4075-B65F-74B8C71FFCB9")]
[ComVisible(true)]
[AltName("DepotRepair")]
[ClassInterface(ClassInterfaceType.None)]
public sealed class FCDR : FCDRBase, IFCDR, IToolkit
Constructors
Declaration
Declaration
public FCDR(IFCApplication FCApp, IFCSession FCSess)
Parameters
Methods
Declaration
protected override int GetProductID()
Returns
Type |
Description |
System.Int32 |
|
Overrides
Explicit Interface Implementations
Declaration
[AltName("Apply_Eco")]
public short IFCDR.apply_eco([ParameterRequired, AltName("demand_detail_Objid")] int demand_dtl_objid, [ParameterRequired, AltName("Eco_Header_ID_Num")] string eco_code, [AltName("User_Name")] string perf_by, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
demand_dtl_objid |
|
System.String |
eco_code |
|
System.String |
perf_by |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("create_depot_repair_labor")]
[OutputProperty("ret_objid", "TimeLog")]
public short IFCDR.create_dr_labor([ParameterRequired, AltName("Demand_detail_Objid")] int demand_dtl_objid, string labor_type, [ParameterRequired, AltName("start_date")] string start_time, [ParameterRequired, AltType("System.TimeSpan", "Convert.ToInt32({0}.TotalSeconds)")] int duration, [AltName("Is_Billable"), AltType("System.Boolean", "(short)({0} ? 1 : 0)")] short billable, string bill_to, [AltName("work_center")] string wrk_center, [AltName("labor_rate")] double tl_rate, [AltName("User_Name")] string perf_by, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
demand_dtl_objid |
|
System.String |
labor_type |
|
System.String |
start_time |
|
System.Int32 |
duration |
|
System.Int16 |
billable |
|
System.String |
bill_to |
|
System.String |
wrk_center |
|
System.Double |
tl_rate |
|
System.String |
perf_by |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("create_depot_repair_material")]
[OutputProperty("ret_objid", "MaterialLog")]
public short IFCDR.create_dr_mtl([ParameterRequired, AltName("Demand_detail_Objid")] int demand_dtl_objid, string repair_code, string failure_code, [ParameterRequired, AltName("Part_Revision_Objid")] int mod_level, [AltName("Is_Billable"), AltType("System.Boolean", "(short)({0} ? 1 : 0)")] short billable, string bill_to, [AltName("work_center")] string wrk_center, [ParameterRequired, AltType("RepairPartDisposition", "Convert.ToInt16((int)({0}))"), ParameterDefaultValue("RepairPartDisposition.Used")] short disposition, [AltName("reference_designator")] string ref_designator, string notes, string transaction_id, [AltName("User_Name")] string perf_by, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
demand_dtl_objid |
|
System.String |
repair_code |
|
System.String |
failure_code |
|
System.Int32 |
mod_level |
|
System.Int16 |
billable |
|
System.String |
bill_to |
|
System.String |
wrk_center |
|
System.Int16 |
disposition |
|
System.String |
ref_designator |
|
System.String |
notes |
|
System.String |
transaction_id |
|
System.String |
perf_by |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[SplitMethod("Create_Eco_Labor_Detail")]
[SplitMethod("Create_Eco_Material_Detail")]
public short IFCDR.create_eco_dtl([ParameterVoid, ParameterDefaultValue("\"Labor\"", "Create_Eco_Labor_Detail"), ParameterDefaultValue("\"Material\"", "Create_Eco_Material_Detail")] string detail_type, [AltName("Is_Required"), ParameterRequired, AltType("System.Boolean", "{0} ? 1 : 0")] int required, string status, [ParameterVoid(true, "Create_Eco_Material_Detail")] string labor_type, [AltType("System.TimeSpan", "Convert.ToInt32({0}.TotalSeconds)"), AltName("elapsed_time"), ParameterRequired("Create_Eco_Labor_Detail"), ParameterVoid("Create_Eco_Material_Detail")] int elapsed_time, [ParameterVoid(true, "Create_Eco_Labor_Detail")] string location, string description, [ParameterRequired, AltName("Eco_header_Id_Num")] string eco_hdr_code, [ParameterRequired("Create_Eco_Material_Detail"), AltName("Part_Revision_Objid"), ParameterVoid("Update_Eco_Labor_Detail")] int mod_level_objid)
Parameters
Type |
Name |
Description |
System.String |
detail_type |
|
System.Int32 |
required |
|
System.String |
status |
|
System.String |
labor_type |
|
System.Int32 |
elapsed_time |
|
System.String |
location |
|
System.String |
description |
|
System.String |
eco_hdr_code |
|
System.Int32 |
mod_level_objid |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("create_Eco_header")]
public short IFCDR.create_eco_hdr([AltName("Eco_title")] string eco_title, [AltName("Eco_type")] string eco_type, string create_date, [AltName("effect_type")] string eff_type, [ParameterRequired] string start_date, [ParameterRequired] string end_date, string status, string description)
Parameters
Type |
Name |
Description |
System.String |
eco_title |
|
System.String |
eco_type |
|
System.String |
create_date |
|
System.String |
eff_type |
|
System.String |
start_date |
|
System.String |
end_date |
|
System.String |
status |
|
System.String |
description |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("create_Eco_item")]
public short IFCDR.create_eco_item([ParameterRequired, AltType("FChoice.Toolkits.Clarify.EcoItemAppliesTo", "{1} ? (int)({0}) : -1"), AltName("Applies_to"), ParameterDefaultValue("FChoice.Toolkits.Clarify.EcoItemAppliesTo.EcoHeader")] int focus_type, [AltName("Is_Active"), ParameterRequired, AltType("System.Boolean", "({0} ? 1 : 0)")] int active, [ParameterRequired, AltName("Eco_header_ID_Num")] string eco_hdr_code, [ParameterRequired, AltName("Apply_Part_Revision_Objid")] int apply_mod_level, [ParameterRequired, AltName("Result_Part_Revision_Objid")] int result_mod_level)
Parameters
Type |
Name |
Description |
System.Int32 |
focus_type |
|
System.Int32 |
active |
|
System.String |
eco_hdr_code |
|
System.Int32 |
apply_mod_level |
|
System.Int32 |
result_mod_level |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("delete_depot_repair_labor")]
public short IFCDR.delete_dr_labor([ParameterRequired] int time_log_objid, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
time_log_objid |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("delete_depot_repair_material")]
public short IFCDR.delete_dr_mtl([ParameterRequired, AltName("material_log_Objid")] int mtl_log_objid, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
mtl_log_objid |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("delete_Eco_detail")]
public short IFCDR.delete_eco_dtl([ParameterRequired, AltName("Eco_detail_Objid")] int eco_dtl_objid)
Parameters
Type |
Name |
Description |
System.Int32 |
eco_dtl_objid |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("delete_Eco_item")]
public short IFCDR.delete_eco_item([ParameterRequired, AltName("Eco_ItemObjid")] int eco_item_objid)
Parameters
Type |
Name |
Description |
System.Int32 |
eco_item_objid |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
public string IFCDR.impersonatorUserName { get; set; }
Returns
Type |
Description |
System.String |
|
Declaration
[ToolkitVisible(false)]
public void IFCDR.Initialize(IFCApplication FCApp, IFCSession FCSess)
Parameters
Declaration
[AltName("Update_depot_repair_labor")]
[OutputProperty("ret_objid", "TimeLog")]
public short IFCDR.modify_dr_labor([ParameterRequired] int time_log_objid, string labor_type, [AltName("start_date")] string start_time, [AltType("System.TimeSpan", "Convert.ToInt32({0}.TotalSeconds)")] int duration, [AltName("Is_Billable"), AltType("System.Boolean", "(short)({1} ? ({0} ? 1 : 0) : -1)")] short billable, string bill_to, [AltName("work_center")] string wrk_center, [AltName("labor_rate")] double tl_rate, [AltName("User_Name")] string perf_by, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
time_log_objid |
|
System.String |
labor_type |
|
System.String |
start_time |
|
System.Int32 |
duration |
|
System.Int16 |
billable |
|
System.String |
bill_to |
|
System.String |
wrk_center |
|
System.Double |
tl_rate |
|
System.String |
perf_by |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("Update_depot_repair_material")]
[OutputProperty("ret_objid", "MaterialLog")]
public short IFCDR.modify_dr_mtl([ParameterRequired, AltName("material_log_Objid")] int mtl_log_objid, string repair_code, string failure_code, [AltName("Part_Revision_Objid")] int mod_level, [AltName("Is_Billable"), AltType("System.Boolean", "(short)({1} ? ({0} ? 1 : 0) : -1)")] short billable, string bill_to, [AltName("work_center")] string wrk_center, [ParameterRequired, AltType("RepairPartDisposition", "Convert.ToInt16((int)({0}))"), ParameterDefaultValue("RepairPartDisposition.Used")] short disposition, [AltName("reference_designator")] string ref_designator, string notes, string transaction_id, [AltName("User_Name")] string perf_by, [AltName("create_date")] string creation_time)
Parameters
Type |
Name |
Description |
System.Int32 |
mtl_log_objid |
|
System.String |
repair_code |
|
System.String |
failure_code |
|
System.Int32 |
mod_level |
|
System.Int16 |
billable |
|
System.String |
bill_to |
|
System.String |
wrk_center |
|
System.Int16 |
disposition |
|
System.String |
ref_designator |
|
System.String |
notes |
|
System.String |
transaction_id |
|
System.String |
perf_by |
|
System.String |
creation_time |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[SplitMethod("Update_Eco_Labor_Detail")]
[SplitMethod("Update_Eco_Material_Detail")]
public short IFCDR.modify_eco_dtl([ParameterRequired, AltName("Eco_detail_Objid")] int eco_dtl_objid, [ParameterVoid, ParameterDefaultValue("\"Labor\"", "Update_Eco_Labor_Detail"), ParameterDefaultValue("\"Material\"", "Update_Eco_Material_Detail")] string detail_type, [AltName("Is_Required"), AltType("System.Boolean", "({1} ? ({0} ? 1 : 0) : -1)")] int required, string status, [ParameterVoid(true, "Update_Eco_Material_Detail")] string labor_type, [AltType("System.TimeSpan", "Convert.ToInt32({0}.TotalSeconds)"), AltName("elapsed_time"), ParameterRequired("Create_Eco_Labor_Detail"), ParameterVoid("Create_Eco_Material_Detail")] int elapsed_time, [ParameterVoid(true, "Update_Eco_Labor_Detail")] string location, string description, [AltName("Eco_header_ID_Num")] string eco_hdr_code, [AltName("Part_Revision_Objid"), ParameterRequired("Update_Eco_Material_Detail"), ParameterVoid("Update_Eco_Labor_Detail")] int mod_level_objid)
Parameters
Type |
Name |
Description |
System.Int32 |
eco_dtl_objid |
|
System.String |
detail_type |
|
System.Int32 |
required |
|
System.String |
status |
|
System.String |
labor_type |
|
System.Int32 |
elapsed_time |
|
System.String |
location |
|
System.String |
description |
|
System.String |
eco_hdr_code |
|
System.Int32 |
mod_level_objid |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
[AltName("Update_Eco_item")]
public short IFCDR.modify_eco_item([ParameterRequired, AltName("Eco_ItemObjid")] int eco_mod_role_objid, [AltType("FChoice.Toolkits.Clarify.EcoItemAppliesTo", "{1} ? (int)({0}) : -1"), AltName("Applies_to"), ParameterDefaultValue("FChoice.Toolkits.Clarify.EcoItemAppliesTo.EcoHeader")] int focus_type, [AltName("Is_Active"), ParameterRequired, AltType("System.Boolean", "({1} ? ({0} ? 1 : 0) : -1)")] int active, [ParameterRequired, AltName("Eco_header_ID_Num")] string eco_hdr_code, [AltName("Apply_Part_Revision_Objid")] int applies_to_mod, [AltName("Result_Part_Revision_Objid")] int results_in_mod)
Parameters
Type |
Name |
Description |
System.Int32 |
eco_mod_role_objid |
|
System.Int32 |
focus_type |
|
System.Int32 |
active |
|
System.String |
eco_hdr_code |
|
System.Int32 |
applies_to_mod |
|
System.Int32 |
results_in_mod |
|
Returns
Type |
Description |
System.Int16 |
|
Declaration
public string IFCDR.ret_id_num { get; }
Returns
Type |
Description |
System.String |
|
Declaration
public int IFCDR.ret_objid { get; }
Returns
Type |
Description |
System.Int32 |
|
Declaration
public string IToolkit.ReturnIDNum { get; }
Returns
Type |
Description |
System.String |
|
Declaration
public int IToolkit.ReturnObjid { get; }
Returns
Type |
Description |
System.Int32 |
|
Implements