diff --git a/.gitignore b/.gitignore index 5cc0ffc2..245bfb8c 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,5 @@ obj /UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/.vs /ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/bin/Debug /Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/.vs +/.postman/config.json +/postman/globals/workspace.postman_globals.json diff --git a/BarcodeDrivenEngine/Help/BarcodeDrivenEngine/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/BarcodeDrivenEngine/Help/BarcodeDrivenEngine/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 4f80205a..0e19ebcf 100644 --- a/BarcodeDrivenEngine/Help/BarcodeDrivenEngine/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/BarcodeDrivenEngine/Help/BarcodeDrivenEngine/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -49,10 +49,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T190/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv b/Customization/T190/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv index bb2f6906..e904706c 100644 --- a/Customization/T190/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/Customization/T190/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12411;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2020-05-12 09:23:04.893;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2020-05-12 09:23:04.893;0x00000000000518D8;0A00DE05-3294-EA11-9FEE-E0D55E1F4D34 \ No newline at end of file +2;RSSVWORDER;5441;12411;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2020-05-12 09:23:04.893;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2020-05-12 09:23:04.893;0x00000000000518D8;0A00DE05-3294-EA11-9FEE-E0D55E1F4D34 \ No newline at end of file diff --git a/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index 11138052..cf4af93e 100644 --- a/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -12,7 +12,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable { #region NumberingID [PXDBString(10, IsUnicode = true)] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] public virtual string? NumberingID { get; set; } diff --git a/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 07e276bd..6c3fd7a5 100644 --- a/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/Customization/T190/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T200/CodeSnippets/Step1.9.2/PhoneRepairShop_Code.csproj b/Customization/T200/CodeSnippets/Step1.9.2/PhoneRepairShop_Code.csproj index 56419cfc..2bc891cd 100644 --- a/Customization/T200/CodeSnippets/Step1.9.2/PhoneRepairShop_Code.csproj +++ b/Customization/T200/CodeSnippets/Step1.9.2/PhoneRepairShop_Code.csproj @@ -38,10 +38,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T200/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/Customization/T200/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 07e276bd..6c3fd7a5 100644 --- a/Customization/T200/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/Customization/T200/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T210/CodeSnippets/Step2.1.4/RS203000.aspx b/Customization/T210/CodeSnippets/Step2.1.4/RS203000.aspx deleted file mode 100644 index aff7783b..00000000 --- a/Customization/T210/CodeSnippets/Step2.1.4/RS203000.aspx +++ /dev/null @@ -1,63 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormTab.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="RS203000.aspx.cs" Inherits="Page_RS203000" Title="Untitled Page" %> -<%@ MasterType VirtualPath="~/MasterPages/FormTab.master" %> - - - - - - - - - - - - - - - - - <%-- The added code --%> - - - - <%-- The end of added code --%> - - - - - - - \ No newline at end of file diff --git a/Customization/T210/CodeSnippets/Step2.2.1/RS203000.aspx b/Customization/T210/CodeSnippets/Step2.2.1/RS203000.aspx deleted file mode 100644 index 0a2d618e..00000000 --- a/Customization/T210/CodeSnippets/Step2.2.1/RS203000.aspx +++ /dev/null @@ -1,57 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormTab.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="RS203000.aspx.cs" Inherits="Page_RS203000" Title="Untitled Page" %> -<%@ MasterType VirtualPath="~/MasterPages/FormTab.master" %> - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Customization/T210/CodeSnippets/Step4.1.2/RS203000.ts b/Customization/T210/CodeSnippets/Step4.1.2/RS203000.ts index 776fd932..9c56dfda 100644 --- a/Customization/T210/CodeSnippets/Step4.1.2/RS203000.ts +++ b/Customization/T210/CodeSnippets/Step4.1.2/RS203000.ts @@ -1,45 +1,40 @@ -import { createCollection, createSingle, PXScreen, graphInfo, - viewInfo, PXView, PXFieldState, gridConfig, PXFieldOptions, - columnConfig, GridPreset,GridFastFilterVisibility } -from "client-controls"; + +import { createCollection, createSingle, graphInfo, PXView, PXScreen, PXFieldState, gridConfig, PXFieldOptions, PXActionState, GridPreset, viewInfo } from "client-controls"; @graphInfo({ - graphType: "PhoneRepairShop.RSSVRepairPriceMaint", - primaryView: "RepairPrices", }) + graphType: "PhoneRepairShop.RSSVRepairPriceMaint", + primaryView: "RepairPrices", +}) export class RS203000 extends PXScreen { - @viewInfo({containerName: "Services and Prices"}) + @viewInfo({containerName: "Repair Prices"}) RepairPrices = createSingle(RSSVRepairPrice); - @viewInfo({containerName: "Repair Items"}) + @viewInfo({containerName: "Repair Items"}) RepairItems = createCollection(RSSVRepairItem); - @viewInfo({containerName: "Labor"}) + @viewInfo({containerName: "Labor"}) Labor = createCollection(RSSVLabor); -}// Views - -export class RSSVRepairPrice extends PXView { +} - ServiceID : PXFieldState; - DeviceID : PXFieldState; - Price : PXFieldState; +export class RSSVRepairPrice extends PXView { + ServiceID: PXFieldState; + DeviceID: PXFieldState; + Price: PXFieldState; } @gridConfig({ - initNewRow: true, + preset: GridPreset.Details, syncPosition: true, - showFastFilter: GridFastFilterVisibility.False, - preset: GridPreset.Details + initNewRow: true }) -export class RSSVRepairItem extends PXView { - RepairItemType : PXFieldState; +export class RSSVRepairItem extends PXView { + RepairItemType : PXFieldState; Required : PXFieldState; - @columnConfig({hideViewLink: true}) - InventoryID : PXFieldState; + InventoryID: PXFieldState; InventoryID_description : PXFieldState; BasePrice : PXFieldState; IsDefault : PXFieldState; } @gridConfig({ - showFastFilter: GridFastFilterVisibility.False, preset: GridPreset.Details }) export class RSSVLabor extends PXView { @@ -48,4 +43,4 @@ export class RSSVLabor extends PXView { DefaultPrice : PXFieldState; Quantity : PXFieldState; ExtPrice : PXFieldState; -} +} \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/Bin/PhoneRepairShop_code.dll b/Customization/T210/PhoneRepairShop/Bin/PhoneRepairShop_code.dll index f8f38711..a4b4a610 100644 Binary files a/Customization/T210/PhoneRepairShop/Bin/PhoneRepairShop_code.dll and b/Customization/T210/PhoneRepairShop/Bin/PhoneRepairShop_code.dll differ diff --git a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html index 31257936..7e7117a9 100644 --- a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html +++ b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html @@ -2,7 +2,7 @@ - - - + + + diff --git a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html index 8e6e9c18..c890c2f8 100644 --- a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html +++ b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html @@ -1,3 +1,3 @@ \ No newline at end of file + + diff --git a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts index 3910668c..937fb444 100644 --- a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts +++ b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts @@ -1,4 +1,3 @@ - import { PXScreen, graphInfo, createCollection, PXView, PXFieldState, @@ -15,6 +14,7 @@ export class RS201000 extends PXScreen { RepairService = createCollection(RSSVRepairService); } +// View @gridConfig({ preset: GridPreset.Primary }) diff --git a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html index fcbc1b11..67cc9844 100644 --- a/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html +++ b/Customization/T210/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html @@ -1,10 +1,10 @@ \ No newline at end of file + + + + + + + + + diff --git a/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx b/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx deleted file mode 100644 index f23de87e..00000000 --- a/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx +++ /dev/null @@ -1,32 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormView.master" -AutoEventWireup="true" ValidateRequest="false" CodeFile="RS202000.aspx.cs" -Inherits="Page_RS202000" Title="Untitled Page" %> -<%@ MasterType VirtualPath="~/MasterPages/FormView.master" %> - - - - - - - - - - - - \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx.cs b/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx.cs deleted file mode 100644 index a84104a1..00000000 --- a/Customization/T210/PhoneRepairShop/Pages/RS/RS202000.aspx.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -public partial class Page_RS202000 : PX.Web.UI.PXPage -{ - protected void Page_Load(object sender, EventArgs e) - { - } -} \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml b/Customization/T210/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml index e04cf3eb..ebb7ab82 100644 --- a/Customization/T210/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml +++ b/Customization/T210/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml @@ -1,6 +1,6 @@  - + @@ -11,6 +11,7 @@ + @@ -65,6 +66,7 @@
+
@@ -169,8 +171,8 @@ - - + + @@ -188,7 +190,7 @@ - + diff --git a/Customization/T210/PhoneRepairShop/_project/IN202500.xml b/Customization/T210/PhoneRepairShop/_project/IN202500.xml index 001490ad..e02e7f4d 100644 --- a/Customization/T210/PhoneRepairShop/_project/IN202500.xml +++ b/Customization/T210/PhoneRepairShop/_project/IN202500.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml b/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml index e8f5e37b..fbd1b28c 100644 --- a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml +++ b/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml @@ -48,7 +48,6 @@ - @@ -120,6 +119,7 @@ +
diff --git a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml b/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml index fd9bed5c..4eefc5f9 100644 --- a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml +++ b/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml @@ -18,7 +18,7 @@ - + diff --git a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml b/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml deleted file mode 100644 index 2e9c9cba..00000000 --- a/Customization/T210/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - -
-
-
-
- - - - - - - - - \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml b/Customization/T210/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml similarity index 97% rename from Customization/T210/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml rename to Customization/T210/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml index 30f9abd9..aae072cd 100644 --- a/Customization/T210/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml +++ b/Customization/T210/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml @@ -25,7 +25,7 @@ - + diff --git a/Customization/T210/PhoneRepairShop/_project/Sql_RSSVRepairService.xml b/Customization/T210/PhoneRepairShop/_project/Sql_RSSVRepairService.xml index a544d9f9..2538cb9c 100644 --- a/Customization/T210/PhoneRepairShop/_project/Sql_RSSVRepairService.xml +++ b/Customization/T210/PhoneRepairShop/_project/Sql_RSSVRepairService.xml @@ -20,10 +20,6 @@ - - - - diff --git a/Customization/T210/PhoneRepairShop/_project/pages_in_in202500_aspx.xml b/Customization/T210/PhoneRepairShop/_project/pages_in_in202500_aspx.xml index 4bc995ef..2c8b95ac 100644 --- a/Customization/T210/PhoneRepairShop/_project/pages_in_in202500_aspx.xml +++ b/Customization/T210/PhoneRepairShop/_project/pages_in_in202500_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml b/Customization/T210/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml deleted file mode 100644 index 779f99d3..00000000 --- a/Customization/T210/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml b/Customization/T210/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml index 05cbdb6b..3a5a503b 100644 --- a/Customization/T210/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml +++ b/Customization/T210/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/InventoryItemExtensions.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/InventoryItemExtensions.cs index 52e0b96d..cda95dd8 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/InventoryItemExtensions.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/InventoryItemExtensions.cs @@ -1,10 +1,8 @@ -using PX.Common; +using PX.Data.BQL.Fluent; using PX.Data.BQL; -using PX.Data.EP; using PX.Data.ReferentialIntegrity.Attributes; using PX.Data; using PX.Objects.Common.Extensions; -using PX.Objects.Common.GraphExtensions.Abstract; using PX.Objects.Common; using PX.Objects.CR; using PX.Objects.CS; @@ -14,11 +12,11 @@ using PX.Objects.IN.Matrix.Attributes; using PX.Objects.IN.Matrix.Graphs; using PX.Objects.IN; -using PX.Objects.PM; using PX.Objects.TX; using PX.Objects; using PX.TM; using SelectParentItemClass = PX.Data.BQL.Fluent.SelectFrom.Where>; +using SelectParentPostClass = PX.Data.BQL.Fluent.SelectFrom.Where>; using System.Collections.Generic; using System; @@ -26,14 +24,13 @@ namespace PhoneRepairShop { // Acuminator disable once PX1016 ExtensionDoesNotDeclareIsActiveMethod extension should be constantly active public sealed class InventoryItemExt : PXCacheExtension - { - #region UsrRepairItem - [PXDBBool] - [PXUIField(DisplayName="Repair Item")] - [PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)] - - public bool? UsrRepairItem { get; set; } - public abstract class usrRepairItem : PX.Data.BQL.BqlBool.Field { } + { + #region UsrRepairItem + [PXDBBool] + [PXUIField(DisplayName="Repair Item")] + [PXDefault(false, PersistingCheck = PXPersistingCheck.Nothing)] + public bool? UsrRepairItem { get; set; } + public abstract class usrRepairItem : PX.Data.BQL.BqlBool.Field { } #endregion #region UsrRepairItemType diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVRepairService.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVRepairService.cs index 97ef3dcf..ad6a449f 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVRepairService.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVRepairService.cs @@ -3,109 +3,110 @@ namespace PhoneRepairShop { - [PXCacheName(Messages.RSSVRepairService)] - public class RSSVRepairService : PXBqlTable, IBqlTable - { - #region ServiceID - [PXDBIdentity] - public virtual int? ServiceID { get; set; } - public abstract class serviceID : PX.Data.BQL.BqlInt.Field { } - #endregion + [PXCacheName(Messages.RSSVRepairService)] + public class RSSVRepairService : PXBqlTable, IBqlTable + { + #region ServiceID + [PXDBIdentity] + public virtual int? ServiceID { get; set; } + public abstract class serviceID : PX.Data.BQL.BqlInt.Field { } + #endregion - #region ServiceCD - [PXDBString(15, IsKey = true, IsUnicode = true, InputMask = ">aaaaaaaaaaaaaaa")] - [PXDefault] - [PXUIField(DisplayName = "Service ID")] - public virtual string? ServiceCD { get; set; } - public abstract class serviceCD : PX.Data.BQL.BqlString.Field { } - #endregion + #region ServiceCD + [PXDBString(15, IsUnicode = true, IsKey = true, + InputMask = ">aaaaaaaaaaaaaaa")] + [PXDefault] + [PXUIField(DisplayName = "Service ID")] + public virtual string? ServiceCD { get; set; } + public abstract class serviceCD : PX.Data.BQL.BqlString.Field { } + #endregion - #region Description - [PXDBString(50, IsUnicode = true, InputMask = "")] - [PXDefault] - [PXUIField(DisplayName = "Description")] - public virtual string? Description { get; set; } - public abstract class description : PX.Data.BQL.BqlString.Field { } - #endregion + #region Description + [PXDBString(50, IsUnicode = true)] + [PXDefault] + [PXUIField(DisplayName = "Description")] + public virtual string? Description { get; set; } + public abstract class description : PX.Data.BQL.BqlString.Field { } + #endregion - #region Active - [PXDBBool()] - [PXDefault(true)] - [PXUIField(DisplayName = "Active")] - public virtual bool? Active { get; set; } - public abstract class active : PX.Data.BQL.BqlBool.Field { } - #endregion + #region Active + [PXDBBool()] + [PXDefault(true)] + [PXUIField(DisplayName = "Active")] + public virtual bool? Active { get; set; } + public abstract class active : PX.Data.BQL.BqlBool.Field { } + #endregion - #region WalkInService - [PXDBBool()] - [PXDefault(false)] - [PXUIField(DisplayName = "Walk-In Service")] - public virtual bool? WalkInService { get; set; } - public abstract class walkInService : PX.Data.BQL.BqlBool.Field { } - #endregion + #region WalkInService + [PXDBBool()] + [PXDefault(false)] + [PXUIField(DisplayName = "Walk-In Service")] + public virtual bool? WalkInService { get; set; } + public abstract class walkInService : PX.Data.BQL.BqlBool.Field { } + #endregion - #region PreliminaryCheck - [PXDBBool()] - [PXDefault(false)] - [PXUIField(DisplayName = "Requires Preliminary Check")] - public virtual bool? PreliminaryCheck { get; set; } - public abstract class preliminaryCheck : PX.Data.BQL.BqlBool.Field { } - #endregion + #region PreliminaryCheck + [PXDBBool()] + [PXDefault(false)] + [PXUIField(DisplayName = "Requires Preliminary Check")] + public virtual bool? PreliminaryCheck { get; set; } + public abstract class preliminaryCheck : PX.Data.BQL.BqlBool.Field { } + #endregion - #region Prepayment - [PXDBBool()] - [PXDefault(false)] - [PXUIField(DisplayName = "Requires Prepayment")] - public virtual bool? Prepayment { get; set; } - public abstract class prepayment : PX.Data.BQL.BqlBool.Field { } - #endregion + #region Prepayment + [PXDBBool()] + [PXDefault(false)] + [PXUIField(DisplayName = "Requires Prepayment")] + public virtual bool? Prepayment { get; set; } + public abstract class prepayment : PX.Data.BQL.BqlBool.Field { } + #endregion - #region CreatedDateTime - [PXDBCreatedDateTime()] - public virtual DateTime? CreatedDateTime { get; set; } - public abstract class createdDateTime : PX.Data.BQL.BqlDateTime.Field { } - #endregion + #region CreatedDateTime + [PXDBCreatedDateTime()] + public virtual DateTime? CreatedDateTime { get; set; } + public abstract class createdDateTime : PX.Data.BQL.BqlDateTime.Field { } + #endregion - #region CreatedByID - [PXDBCreatedByID()] - public virtual Guid? CreatedByID { get; set; } - public abstract class createdByID : PX.Data.BQL.BqlGuid.Field { } - #endregion + #region CreatedByID + [PXDBCreatedByID()] + public virtual Guid? CreatedByID { get; set; } + public abstract class createdByID : PX.Data.BQL.BqlGuid.Field { } + #endregion - #region CreatedByScreenID - [PXDBCreatedByScreenID()] - public virtual string? CreatedByScreenID { get; set; } - public abstract class createdByScreenID : PX.Data.BQL.BqlString.Field { } - #endregion + #region CreatedByScreenID + [PXDBCreatedByScreenID()] + public virtual string? CreatedByScreenID { get; set; } + public abstract class createdByScreenID : PX.Data.BQL.BqlString.Field { } + #endregion - #region LastModifiedDateTime - [PXDBLastModifiedDateTime()] - public virtual DateTime? LastModifiedDateTime { get; set; } - public abstract class lastModifiedDateTime : PX.Data.BQL.BqlDateTime.Field { } - #endregion + #region LastModifiedDateTime + [PXDBLastModifiedDateTime()] + public virtual DateTime? LastModifiedDateTime { get; set; } + public abstract class lastModifiedDateTime : PX.Data.BQL.BqlDateTime.Field { } + #endregion - #region LastModifiedByID - [PXDBLastModifiedByID()] - public virtual Guid? LastModifiedByID { get; set; } - public abstract class lastModifiedByID : PX.Data.BQL.BqlGuid.Field { } - #endregion + #region LastModifiedByID + [PXDBLastModifiedByID()] + public virtual Guid? LastModifiedByID { get; set; } + public abstract class lastModifiedByID : PX.Data.BQL.BqlGuid.Field { } + #endregion - #region LastModifiedByScreenID - [PXDBLastModifiedByScreenID()] - public virtual string? LastModifiedByScreenID { get; set; } - public abstract class lastModifiedByScreenID : PX.Data.BQL.BqlString.Field { } - #endregion + #region LastModifiedByScreenID + [PXDBLastModifiedByScreenID()] + public virtual string? LastModifiedByScreenID { get; set; } + public abstract class lastModifiedByScreenID : PX.Data.BQL.BqlString.Field { } + #endregion - #region Tstamp - [PXDBTimestamp()] - public virtual byte[]? Tstamp { get; set; } - public abstract class tstamp : PX.Data.BQL.BqlByteArray.Field { } - #endregion + #region Tstamp + [PXDBTimestamp()] + public virtual byte[]? Tstamp { get; set; } + public abstract class tstamp : PX.Data.BQL.BqlByteArray.Field { } + #endregion - #region NoteID - [PXNote()] - public virtual Guid? NoteID { get; set; } - public abstract class noteID : PX.Data.BQL.BqlGuid.Field { } - #endregion - } + #region NoteID + [PXNote()] + public virtual Guid? NoteID { get; set; } + public abstract class noteID : PX.Data.BQL.BqlGuid.Field { } + #endregion + } } \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVWarranty.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVWarranty.cs index 98533e9a..ca035f34 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVWarranty.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVWarranty.cs @@ -51,27 +51,36 @@ public abstract class defaultWarranty : #region ContractDuration [PXInt(MinValue = 1, MaxValue = 1000)] [PXUIField(DisplayName = "Duration", Enabled = false)] - [PXFormula(typeof(ContractTemplate.duration.FromSelectorOf))] + [PXFormula(typeof( + ContractTemplate.duration.FromSelectorOf))] public virtual int? ContractDuration { get; set; } - public abstract class contractDuration : PX.Data.BQL.BqlInt.Field { } + public abstract class contractDuration : + PX.Data.BQL.BqlInt.Field + { } #endregion #region ContractDurationType [PXString(1, IsFixed = true)] [PXUIField(DisplayName = "Duration Unit", Enabled = false)] [Contract.durationType.List] - [PXFormula(typeof(ContractTemplate.durationType.FromSelectorOf))] + [PXFormula(typeof( + ContractTemplate.durationType.FromSelectorOf))] public virtual string? ContractDurationType { get; set; } - public abstract class contractDurationType : PX.Data.BQL.BqlString.Field { } + public abstract class contractDurationType : + PX.Data.BQL.BqlString.Field + { } #endregion #region ContractType [PXString(1, IsFixed = true)] [PXUIField(DisplayName = "Contract Type", Enabled = false)] [Contract.type.List] - [PXFormula(typeof(ContractTemplate.type.FromSelectorOf))] + [PXFormula(typeof( + ContractTemplate.type.FromSelectorOf))] public virtual string? ContractType { get; set; } - public abstract class contractType : PX.Data.BQL.BqlString.Field { } + public abstract class contractType : + PX.Data.BQL.BqlString.Field + { } #endregion #region CreatedByID diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/InventoryItemMaint.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/InventoryItemMaint.cs index 4530e6cb..83e58135 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/InventoryItemMaint.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/InventoryItemMaint.cs @@ -7,7 +7,7 @@ namespace PhoneRepairShop { // Acuminator disable once PX1016 ExtensionDoesNotDeclareIsActiveMethod extension should be constantly active public class InventoryItemMaint_Extension : PXGraphExtension - { + { #region Data Views public SelectFrom. Where - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVDeviceMaint.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVDeviceMaint.cs index 20a8adba..d92c35c1 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVDeviceMaint.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVDeviceMaint.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using PX.Data; +using PX.Data; using PX.Data.BQL.Fluent; namespace PhoneRepairShop @@ -12,4 +7,4 @@ public class RSSVDeviceMaint : PXGraph { public SelectFrom.View ServDevices = null!; } -} +} \ No newline at end of file diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index aa69aa71..7b06201f 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -39,6 +39,21 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index 059ebec8..d2561df2 100644 --- a/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/Customization/T210/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/Customization/T220/CodeSnippets/Step2.1.4/RSSVSetup.cs b/Customization/T220/CodeSnippets/Step2.1.4/RSSVSetup.cs index 451e6593..9066852b 100644 --- a/Customization/T220/CodeSnippets/Step2.1.4/RSSVSetup.cs +++ b/Customization/T220/CodeSnippets/Step2.1.4/RSSVSetup.cs @@ -18,7 +18,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } diff --git a/Customization/T220/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll b/Customization/T220/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll index 73ce945c..1f8b2d18 100644 Binary files a/Customization/T220/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll and b/Customization/T220/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll differ diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts deleted file mode 100644 index 5138a0c0..00000000 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { - PXFieldState, - PXFieldOptions, - PXView, - updateDecorator, - removeDecorator, - featureInstalled, - FeaturesSet, - placeBeforeView, - placeAfterView, - placeBeforeProperty, - placeAfterProperty, - graphInfo, - viewInfo, - gridConfig, - columnConfig, - treeConfig, - controlConfig, - linkCommand, - fieldOptions, - fieldConfig, - fieldInfo, - headerDescription, - autoRefresh, - mappedToViewField, - suppressLabel, - readOnly, - disabled, - unbound, - text, - multiLine, - primaryKey, - type, - ControlParameter, - NetType, - MenuItemRenderType, - ScrollMode, - TextAlign, - GridPreset, - GridColumnType, - GridColumnShowHideMode, - GridColumnDisplayMode, - GridAutoGrowMode, - GridPagerMode, - GridFastFilterVisibility, - GridNoteFilesShowMode, - HeaderDescription, - GridColumnGeneration, - GridFilterBarVisibility, - NodeSelectMode, - PXSelectorMode, - ApplySuggestionMode, - ITextEditorControlConfig, - ITimeSpanConfig, - ISelectorControlConfig, - ISegmentedSelectorControlConfig, - IEditorControlConfig, - INumberEditorControlConfig, - IMaskEditorControlConfig, - IMailEditorControlConfig, - ILinkEditorControlConfig, - IDropDownConfig, - IDatetimeEditControlConfig, - IColorPickerControlConfig, - ICheckBoxControlConfig, - ICalendarControlConfig, - IBranchSelectorConfig, - IBarcodeInputControlConfig, - ITreeSelectorConfig, - IRichTextEditorConfig, - IFormulaEditorConfig, - ICurrencyControlConfig, - FieldGenerationMode, - createCollection -} from "client-controls"; -import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; - -export interface IN202500_PhoneRepairShop3_generated extends IN202500 {} -export class IN202500_PhoneRepairShop3_generated { - @gridConfig({ preset: GridPreset.Details }) - @viewInfo({ containerName: "Compatible Devices" }) - CompatibleDevices = createCollection(RSSVStockItemDevice); -} - -export interface ItemSettings_PhoneRepairShop3_generated extends ItemSettings {} -export class ItemSettings_PhoneRepairShop3_generated { - @fieldInfo({ commitChanges: true }) - UsrRepairItem: PXFieldState; - - UsrRepairItemType: PXFieldState; -} - -export class RSSVStockItemDevice extends PXView { - @fieldInfo({ commitChanges: true }) - DeviceID: PXFieldState; - DeviceID_description: PXFieldState; -} diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html similarity index 77% rename from Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html rename to Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html index 31257936..7e7117a9 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html @@ -2,7 +2,7 @@ - - - + + + diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts new file mode 100644 index 00000000..85f562c9 --- /dev/null +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts @@ -0,0 +1,31 @@ +import { + PXFieldState, + PXView, + viewInfo, + gridConfig, + fieldInfo, + GridPreset, + createCollection, + PXFieldOptions +} from "client-controls"; +import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; + +export interface IN202500_PhoneRepairShop_generated extends IN202500 {} +export class IN202500_PhoneRepairShop_generated { + @viewInfo({ containerName: "Compatible Devices" }) + CompatibleDevices = createCollection(RSSVStockItemDevice); +} + +export interface ItemSettings_PhoneRepairShop_generated extends ItemSettings {} +export class ItemSettings_PhoneRepairShop_generated { + @fieldInfo({ commitChanges: true }) + UsrRepairItem: PXFieldState; + + UsrRepairItemType: PXFieldState; +} + +@gridConfig({ preset: GridPreset.Details }) +export class RSSVStockItemDevice extends PXView { + DeviceID: PXFieldState; + DeviceID_description: PXFieldState; +} diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html index ae1b3ff8..5ecd3dce 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html @@ -1,11 +1,11 @@ diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html index 8e6e9c18..c890c2f8 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html @@ -1,3 +1,3 @@ \ No newline at end of file + + diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts index 3910668c..937fb444 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts @@ -1,4 +1,3 @@ - import { PXScreen, graphInfo, createCollection, PXView, PXFieldState, @@ -15,6 +14,7 @@ export class RS201000 extends PXScreen { RepairService = createCollection(RSSVRepairService); } +// View @gridConfig({ preset: GridPreset.Primary }) diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html index fcbc1b11..67cc9844 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html @@ -1,10 +1,10 @@ \ No newline at end of file + + + + + + + + + diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts index 5c2ea012..b4699f90 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts @@ -6,7 +6,9 @@ import { createCollection, createSingle, graphInfo, PXView, PXScreen, PXFieldSta primaryView: "RepairPrices", }) export class RS203000 extends PXScreen { + @viewInfo({containerName: "Repair Prices"}) RepairPrices = createSingle(RSSVRepairPrice); + @viewInfo({containerName: "Repair Items"}) RepairItems = createCollection(RSSVRepairItem); @viewInfo({containerName: "Labor"}) Labor = createCollection(RSSVLabor); diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html index 021eff63..f002bb0c 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html @@ -1,37 +1,37 @@ diff --git a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts index 2bc4e84b..9a601053 100644 --- a/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts +++ b/Customization/T220/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts @@ -2,7 +2,7 @@ import { PXScreen, createCollection, graphInfo, viewInfo, createSingle, PXView, PXFieldOptions, PXFieldState, controlConfig, - gridConfig, GridPreset, + gridConfig, GridPreset } from "client-controls"; @graphInfo({ diff --git a/Customization/T220/PhoneRepairShop/InputData/RSSVSetup.csv b/Customization/T220/PhoneRepairShop/InputData/RSSVSetup.csv index 84e695e7..b6fc91c4 100644 --- a/Customization/T220/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/Customization/T220/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx b/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx deleted file mode 100644 index 8c399a65..00000000 --- a/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx +++ /dev/null @@ -1,32 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormView.master" -AutoEventWireup="true" ValidateRequest="false" CodeFile="RS202000.aspx.cs" -Inherits="Page_RS202000" Title="Untitled Page" %> -<%@ MasterType VirtualPath="~/MasterPages/FormView.master" %> - - - - - - - - - - - - \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx.cs b/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx.cs deleted file mode 100644 index 5ea90835..00000000 --- a/Customization/T220/PhoneRepairShop/Pages/RS/RS202000.aspx.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -public partial class Page_RS202000 : PX.Web.UI.PXPage -{ - protected void Page_Load(object sender, EventArgs e) - { - } -} \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml index 6a649d32..2d443757 100644 --- a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml +++ b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml @@ -1,6 +1,6 @@  - + @@ -11,6 +11,7 @@ + @@ -65,6 +66,7 @@
+
@@ -169,8 +171,8 @@
- - + + @@ -183,8 +185,8 @@ - - + + @@ -195,7 +197,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml index 1c49d9e1..8268eeaf 100644 --- a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml +++ b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml @@ -1,6 +1,6 @@  - + @@ -169,7 +169,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml index e04cf3eb..8d61f7a2 100644 --- a/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml +++ b/Customization/T220/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml @@ -1,6 +1,6 @@  - + @@ -11,6 +11,7 @@ + @@ -65,6 +66,7 @@
+
@@ -169,8 +171,8 @@ - - + + @@ -188,7 +190,7 @@
- + diff --git a/Customization/T220/PhoneRepairShop/_project/IN202500.xml b/Customization/T220/PhoneRepairShop/_project/IN202500.xml index 001490ad..e02e7f4d 100644 --- a/Customization/T220/PhoneRepairShop/_project/IN202500.xml +++ b/Customization/T220/PhoneRepairShop/_project/IN202500.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/ProjectMetadata.xml b/Customization/T220/PhoneRepairShop/_project/ProjectMetadata.xml index 12128abd..330da83f 100644 --- a/Customization/T220/PhoneRepairShop/_project/ProjectMetadata.xml +++ b/Customization/T220/PhoneRepairShop/_project/ProjectMetadata.xml @@ -1,2 +1,2 @@  - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml index fac7cbd4..b7f6b92f 100644 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml +++ b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml @@ -18,95 +18,12 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +
diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml index e8f5e37b..fbd1b28c 100644 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml +++ b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml @@ -48,7 +48,6 @@ - @@ -120,6 +119,7 @@ +
diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml index fd9bed5c..4eefc5f9 100644 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml +++ b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml @@ -18,7 +18,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml deleted file mode 100644 index 2e9c9cba..00000000 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - -
-
-
-
- - - - - - - - - \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml index 0baa033b..2f1d95aa 100644 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml +++ b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml @@ -18,94 +18,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml index 32dd51b3..b92e80a2 100644 --- a/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml +++ b/Customization/T220/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml @@ -18,94 +18,8 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml similarity index 97% rename from Customization/T220/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml rename to Customization/T220/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml index 30f9abd9..aae072cd 100644 --- a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_a889a31c_f526_47fb_80c9_e79ffbe5d5ff.xml +++ b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml @@ -25,7 +25,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_fd9dd0a0_5937_4a8e_a8e3_1a4de4496983.xml b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml similarity index 92% rename from Customization/T220/PhoneRepairShop/_project/SiteMapNode_fd9dd0a0_5937_4a8e_a8e3_1a4de4496983.xml rename to Customization/T220/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml index 3a636b51..a807b57e 100644 --- a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_fd9dd0a0_5937_4a8e_a8e3_1a4de4496983.xml +++ b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml @@ -25,7 +25,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_c74deb33_1a80_4234_ab25_0553a6a55dc9.xml b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml similarity index 97% rename from Customization/T220/PhoneRepairShop/_project/SiteMapNode_c74deb33_1a80_4234_ab25_0553a6a55dc9.xml rename to Customization/T220/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml index 3a8a4fa2..2d4e68f9 100644 --- a/Customization/T220/PhoneRepairShop/_project/SiteMapNode_c74deb33_1a80_4234_ab25_0553a6a55dc9.xml +++ b/Customization/T220/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml @@ -25,7 +25,7 @@ - + diff --git a/Customization/T220/PhoneRepairShop/_project/Sql_RSSVRepairService.xml b/Customization/T220/PhoneRepairShop/_project/Sql_RSSVRepairService.xml index 243de12e..88e5a46e 100644 --- a/Customization/T220/PhoneRepairShop/_project/Sql_RSSVRepairService.xml +++ b/Customization/T220/PhoneRepairShop/_project/Sql_RSSVRepairService.xml @@ -20,10 +20,6 @@ - - - - diff --git a/Customization/T220/PhoneRepairShop/_project/pages_in_in202500_aspx.xml b/Customization/T220/PhoneRepairShop/_project/pages_in_in202500_aspx.xml index 4bc995ef..2c8b95ac 100644 --- a/Customization/T220/PhoneRepairShop/_project/pages_in_in202500_aspx.xml +++ b/Customization/T220/PhoneRepairShop/_project/pages_in_in202500_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml b/Customization/T220/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml deleted file mode 100644 index 779f99d3..00000000 --- a/Customization/T220/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml b/Customization/T220/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml index 05cbdb6b..3a5a503b 100644 --- a/Customization/T220/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml +++ b/Customization/T220/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index 3855bcbb..94e1afcc 100644 --- a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj index 59c9bc1a..19b45045 100644 --- a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj +++ b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 8957edd3..ac84a9d4 100644 --- a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -39,6 +39,21 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/Customization/T220/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html b/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html similarity index 100% rename from WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html rename to Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html diff --git a/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts b/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts similarity index 88% rename from Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts rename to Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts index 5138a0c0..9a5796fc 100644 --- a/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts +++ b/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts @@ -75,15 +75,15 @@ import { } from "client-controls"; import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; -export interface IN202500_PhoneRepairShop3_generated extends IN202500 {} -export class IN202500_PhoneRepairShop3_generated { +export interface IN202500_PhoneRepairShop_generated extends IN202500 {} +export class IN202500_PhoneRepairShop_generated { @gridConfig({ preset: GridPreset.Details }) @viewInfo({ containerName: "Compatible Devices" }) CompatibleDevices = createCollection(RSSVStockItemDevice); } -export interface ItemSettings_PhoneRepairShop3_generated extends ItemSettings {} -export class ItemSettings_PhoneRepairShop3_generated { +export interface ItemSettings_PhoneRepairShop_generated extends ItemSettings {} +export class ItemSettings_PhoneRepairShop_generated { @fieldInfo({ commitChanges: true }) UsrRepairItem: PXFieldState; diff --git a/Customization/T230/PhoneRepairShop/InputData/RSSVSetup.csv b/Customization/T230/PhoneRepairShop/InputData/RSSVSetup.csv index abaa766a..430d93f1 100644 --- a/Customization/T230/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/Customization/T230/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/Customization/T230/PhoneRepairShop/_project/IN202500.xml b/Customization/T230/PhoneRepairShop/_project/IN202500.xml index 001490ad..e02e7f4d 100644 --- a/Customization/T230/PhoneRepairShop/_project/IN202500.xml +++ b/Customization/T230/PhoneRepairShop/_project/IN202500.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index b4e86a67..3213e80f 100644 --- a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 1c2cfa89..70761047 100644 --- a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -42,9 +42,24 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion - - #region Actions + + #region Actions public PXAction ValidateItemPrices = null!; [PXButton(DisplayOnMainToolbar = false, CommitChanges = true)] [PXUIField(DisplayName = "Validate Prices", Enabled = true)] diff --git a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs index b478159c..5bb6f1ba 100644 --- a/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs +++ b/Customization/T230/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs @@ -3,6 +3,7 @@ using PX.Data.BQL.Fluent; using PX.Objects.IN; using System.Linq; +using System; namespace PhoneRepairShop { @@ -28,6 +29,21 @@ public SelectFrom. //The view for the auto-numbering of records public PXSetup AutoNumSetup = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Graph constructor diff --git a/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html b/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html similarity index 100% rename from Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html rename to Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html diff --git a/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts b/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts similarity index 88% rename from Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts rename to Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts index 5138a0c0..9a5796fc 100644 --- a/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts +++ b/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts @@ -75,15 +75,15 @@ import { } from "client-controls"; import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; -export interface IN202500_PhoneRepairShop3_generated extends IN202500 {} -export class IN202500_PhoneRepairShop3_generated { +export interface IN202500_PhoneRepairShop_generated extends IN202500 {} +export class IN202500_PhoneRepairShop_generated { @gridConfig({ preset: GridPreset.Details }) @viewInfo({ containerName: "Compatible Devices" }) CompatibleDevices = createCollection(RSSVStockItemDevice); } -export interface ItemSettings_PhoneRepairShop3_generated extends ItemSettings {} -export class ItemSettings_PhoneRepairShop3_generated { +export interface ItemSettings_PhoneRepairShop_generated extends ItemSettings {} +export class ItemSettings_PhoneRepairShop_generated { @fieldInfo({ commitChanges: true }) UsrRepairItem: PXFieldState; diff --git a/Customization/T240/PhoneRepairShop/InputData/RSSVSetup.csv b/Customization/T240/PhoneRepairShop/InputData/RSSVSetup.csv index abaa766a..430d93f1 100644 --- a/Customization/T240/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/Customization/T240/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/Customization/T240/PhoneRepairShop/ReportsCustomized/RS601000.rpx b/Customization/T240/PhoneRepairShop/ReportsCustomized/RS601000.rpx index 0b3d2ac7..6c011464 100644 --- a/Customization/T240/PhoneRepairShop/ReportsCustomized/RS601000.rpx +++ b/Customization/T240/PhoneRepairShop/ReportsCustomized/RS601000.rpx @@ -1,6 +1,6 @@ - http://localhost/PhoneRepairShop3 + http://localhost/PhoneRepairShop diff --git a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 4f3ab305..2446c38d 100644 --- a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 4cd73bcd..c4e32d2d 100644 --- a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -43,6 +43,21 @@ public class RSSVRepairPriceMaint : SelectFrom. Where> .View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/Customization/T240/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/Customization/T240/SourceFiles/Report/RS601000.rpx b/Customization/T240/SourceFiles/Report/RS601000.rpx index 0b3d2ac7..6c011464 100644 --- a/Customization/T240/SourceFiles/Report/RS601000.rpx +++ b/Customization/T240/SourceFiles/Report/RS601000.rpx @@ -1,6 +1,6 @@ - http://localhost/PhoneRepairShop3 + http://localhost/PhoneRepairShop diff --git a/Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html b/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html similarity index 100% rename from Customization/T240/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html rename to Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html diff --git a/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts b/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts similarity index 88% rename from Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts rename to Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts index 5138a0c0..9a5796fc 100644 --- a/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts +++ b/Customization/T250/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts @@ -75,15 +75,15 @@ import { } from "client-controls"; import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; -export interface IN202500_PhoneRepairShop3_generated extends IN202500 {} -export class IN202500_PhoneRepairShop3_generated { +export interface IN202500_PhoneRepairShop_generated extends IN202500 {} +export class IN202500_PhoneRepairShop_generated { @gridConfig({ preset: GridPreset.Details }) @viewInfo({ containerName: "Compatible Devices" }) CompatibleDevices = createCollection(RSSVStockItemDevice); } -export interface ItemSettings_PhoneRepairShop3_generated extends ItemSettings {} -export class ItemSettings_PhoneRepairShop3_generated { +export interface ItemSettings_PhoneRepairShop_generated extends ItemSettings {} +export class ItemSettings_PhoneRepairShop_generated { @fieldInfo({ commitChanges: true }) UsrRepairItem: PXFieldState; diff --git a/Customization/T250/PhoneRepairShop/InputData/RSSVSetup.csv b/Customization/T250/PhoneRepairShop/InputData/RSSVSetup.csv index abaa766a..430d93f1 100644 --- a/Customization/T250/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/Customization/T250/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 07e276bd..6c3fd7a5 100644 --- a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 8255b5a8..c3e0e8a0 100644 --- a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -43,6 +43,21 @@ public class RSSVRepairPriceMaint : SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/Customization/T250/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/Program.cs b/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/Program.cs new file mode 100644 index 00000000..42f61bd2 --- /dev/null +++ b/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/Program.cs @@ -0,0 +1,64 @@ +using Microsoft.AspNetCore.Http.Connections; +using Microsoft.AspNetCore.SignalR.Client; +using Microsoft.Extensions.Logging; +using Microsoft.Extensions.Logging.Console; +using System.Text; + +class Program +{ + static async Task Main(string[] args) + { + // Specify credentials to sign in to Acumatica ERP. + // If you use a multi-tenant Acumatica ERP instance, + // append the tenant name to the login as follows: "admin@MyTenant". + var login = "admin"; + var password = "123"; + // Set up a Basic authentication token. + var basicAuthToken = Convert.ToBase64String( + Encoding.UTF8.GetBytes(login + ":" + password)); + + // Specify the URL of an Acumatica ERP instance. + string acumaticaErpUrl = "http://localhost:80/AcumaticaDB_SignalR/"; + // Instead of "TestSignalR", specify the name + // that you specified on the Push Notifications (SM302000) form. + var notification = "TestSignalR"; + + // Create and configure a SignalR Hub connection. + HubConnection connection = new HubConnectionBuilder() + // Specify the URL of the Push Notifications Hub. + // It must end with "signalr/hubs/PushNotificationsHub". + .WithUrl(acumaticaErpUrl + "signalr/hubs/PushNotificationsHub", + options => + { + options.Headers.Add("Authorization", "Basic " + basicAuthToken); + options.Transports = HttpTransportType.WebSockets; + options.SkipNegotiation = true; + }).ConfigureLogging(logging => + { + logging.SetMinimumLevel(LogLevel.Trace); + // Use the standard logging provider + logging.AddConsole(); + }).Build(); + + try + { + await connection.StartAsync(); + // Subscribe to the specified notification. + await connection.InvokeAsync("Subscribe", notification); + // Handle the received notifications. + connection.On("ReceiveNotification", notificationReceived => + Console.WriteLine(notificationReceived.ToString())); + Console.Read(); + } + catch (Exception ex) + { + Console.WriteLine($"Error during connection: {ex.Message}"); + Console.Read(); + } + finally + { + await connection.StopAsync(); + Console.WriteLine("Connection stopped."); + } + } +} \ No newline at end of file diff --git a/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/TestSignalR.cs b/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/TestSignalR.cs deleted file mode 100644 index 334f3548..00000000 --- a/IntegrationDevelopment/Help/ConfiguringPushNotifications/SignalRHub/TestSignalR.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Microsoft.AspNet.SignalR.Client; - -class Program -{ - static void Main(string[] args) - { - var login = "admin"; - var tenant = "Tenant"; - var password = "123"; - // Set up a Basic authentication token - var basicAuthToken = Convert.ToBase64String( - Encoding.UTF8.GetBytes(login + "@" + tenant + ":" + password)); - - //Connect to an Acumatica ERP instance - var connection = new HubConnection("http://localhost:8081/AcumaticaDB/"); - connection.Headers.Add("Authorization", "Basic " + basicAuthToken); - - //Create a proxy to hub - //Use "PushNotificationsHub" as the address of the hub - var myHub = connection.CreateHubProxy("PushNotificationsHub"); - connection.Start().ContinueWith(task => - { - if (task.IsFaulted) - { - Console.WriteLine( - "There was an error during open of the connection:{0}", - task.Exception.GetBaseException()); - } - else - { - //Instead of "TestSignalR", specify the name - //that you specified on the Push Notifications form - myHub.Invoke("Subscribe", "TestSignalR").Wait(); - } - }).Wait(); - - //Process the notifications - myHub.On("ReceiveNotification", nr => - { - Console.WriteLine("Inserted {0}", nr.Inserted.Length); - Console.WriteLine("Deleted {0}", nr.Deleted.Length); - }); - Console.Read(); - connection.Stop(); - } -} - -public class NotificationResult -{ - public object[] Inserted { get; set; } - public object[] Deleted { get; set; } - public string Query { get; set; } - public string CompanyId { get; set; } - public Guid Id { get; set; } - public long TimeStamp { get; set; } - public Dictionary AdditionalInfo { get; set; } -} diff --git a/IntegrationDevelopment/Help/ConfiguringWebhooks/TogglWebhookHandler_Code/WebhookHandler/TogglWebhookHandler_Code.csproj b/IntegrationDevelopment/Help/ConfiguringWebhooks/TogglWebhookHandler_Code/WebhookHandler/TogglWebhookHandler_Code.csproj index f26857d2..5a011b5c 100644 --- a/IntegrationDevelopment/Help/ConfiguringWebhooks/TogglWebhookHandler_Code/WebhookHandler/TogglWebhookHandler_Code.csproj +++ b/IntegrationDevelopment/Help/ConfiguringWebhooks/TogglWebhookHandler_Code/WebhookHandler/TogglWebhookHandler_Code.csproj @@ -54,10 +54,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json b/IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json index 16b96f89..8beb722e 100644 --- a/IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json +++ b/IntegrationDevelopment/Help/IntegrationDevelopmentGuide.postman_collection.json @@ -1,16016 +1,16674 @@ { - "info": { - "_postman_id": "b2abe1f2-7196-4784-aa17-a950f9bbfe14", - "name": "REST API Examples (Integration Development Guide)", - "description": "This collection contains examples from the [REST API Examples](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=bbb8b84b-07d7-4a69-adf8-33dc5d430b60) chapter of the Integration Development Guide of Acumatica ERP.\n\n**Testing the Requests**\n\nTo test the examples, you configure this collection and the Acumatica ERP instance to be used as follows:\n\n- Deploy a new Acumatica ERP instance with three tenants that are based on the U100, SalesDemo, and T100 datasets. For details on deploying an instance, see [Deploying Acumatica ERP Instances](https://help.acumatica.com/(W(4))/Help?ScreenId=ShowWiki&pageid=d02b1a4a-4394-4eb1-a127-ba821108ba3f) in the Installation Guide.\n \n- Specify the base URL of the site in the _BaseURL_ variable of the collection.\n \n- Specify the instance URL in the _InstanceURL_ variable of the collection.\n \n- Make sure the URL of the Default/25.200.001 endpoint is in the _EndpointURL_ variable.\n \n- Make sure the URL of the MANUFACTURING/25.100.001 endpoint is in the _ManufacturingEndpointURL_ variable.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the U100 data in the _TenantU100_, _BranchU100_, _UsernameU100_, and _PasswordU100_ variables.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the T100 data in the _TenantT100_, _BranchT100_, _UsernameT100_, and _PasswordT100_ variables.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the _SalesDemo_ data in the _TenantSalesDemo_, _BranchSalesDemo_, _UsernameSalesDemo_, and _PasswordSalesDemo_ variables.\n \n\nOther variables are used by particular requests and are specified during execution of other requests. You do not need to fill in their values manually.", - "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", - "_exporter_id": "1878971" - }, - "item": [ - { - "name": "Basic Requests", - "item": [ - { - "name": "Sign In to the Service", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "pm.test(\".ASPXAUTH recieved\", function () {\r", - " pm.expect(pm.cookies.indexOf('.ASPXAUTH')).to.be.not.null;\r", - "});\r", - "pm.test(\".ASP.NET_SessionId recieved\", function () {\r", - " pm.expect(pm.cookies.indexOf('.ASP.NET_SessionId')).to.be.not.null;\r", - "});\r", - "pm.execution.setNextRequest(\"Sign Out from the Service\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\"name\" : \"{{UsernameU100}}\",\r\n\"password\" : \"{{PasswordU100}}\",\r\n\"company\" : \"{{TenantU100}}\",\r\n\"branch\" : \"{{BranchU100}}\"\r\n}" - }, - "url": { - "raw": "{{InstanceURL}}entity/auth/login", - "host": [ - "{{InstanceURL}}entity" - ], - "path": [ - "auth", - "login" - ] - }, - "description": "This example shows how to sign in to Acumatica ERP. This process is described in [Sign-In to the Service](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0322492a-de9b-4443-b256-923c48aff31d)." - }, - "response": [] - }, - { - "name": "Sign Out from the Service", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "pm.execution.setNextRequest(\"Create a Record\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{InstanceURL}}entity/auth/logout", - "host": [ - "{{InstanceURL}}entity" - ], - "path": [ - "auth", - "logout" - ] - }, - "description": "This example shows how to sign out from Acumatica ERP. This process is described in [Sign-Out from the Service](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f6701ec1-2296-4155-8242-03d29006bf6e)." - }, - "response": [] - }, - { - "name": "Create a Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Customer ID is JOHNGOOD\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('JOHNGOOD');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update a Record\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\" : {\"value\" : \"JOHNGOOD\"},\r\n \"CustomerName\" : {\"value\" : \"John Good\"},\r\n \"CustomerClass\" : {\"value\" : \"DEFAULT\"},\r\n \"MainContact\" : \r\n {\r\n \"Email\" : {\"value\" : \"demo@gmail.com\"},\r\n \"Address\" : \r\n {\r\n \"AddressLine1\" : {\"value\" : \"4030 Lake Washington Blvd NE\"},\r\n \"AddressLine2\" : {\"value\" : \"Suite 100\"},\r\n \"City\" : {\"value\" : \"Kirkland\"},\r\n \"State\" : {\"value\" : \"WA\" },\r\n \"PostalCode\" : {\"value\" : \"98033\"}\r\n } \r\n } \r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer", - "host": [ - "{{EndpointURL}}Customer" - ] - }, - "description": "This example shows the creation of a record, which is described in [Create a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9d966d50-a0a1-4456-a9ff-1cc2159d48d4)." - }, - "response": [] - }, - { - "name": "Update a Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Customer ID is JOHNGOOD\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('JOHNGOOD');\r", - "});\r", - "pm.test(\"Customer class is ECCUSTOMER\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerClass.value).to.eql('ECCUSTOMER');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update Particular Fields of a Record\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerClass\" : {\"value\" : \"ECCUSTOMER\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer?$filter=MainContact/Email eq 'demo@gmail.com'&$select=CustomerID,CustomerClass,MainContact/Email&$expand=MainContact", - "host": [ - "{{EndpointURL}}Customer" - ], - "query": [ - { - "key": "$filter", - "value": "MainContact/Email eq 'demo@gmail.com'" - }, - { - "key": "$select", - "value": "CustomerID,CustomerClass,MainContact/Email" - }, - { - "key": "$expand", - "value": "MainContact" - } - ] - }, - "description": "This example shows the update of a record, which is described in [Update a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1)." - }, - "response": [] - }, - { - "name": "Update Particular Fields of a Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Sales order number is 000029\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderNbr.value).to.eql('000029');\r", - "});\r", - "pm.test(\"Discount amount for the first line is 5\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].DiscountAmount.value).to.eql(5);\r", - "});\r", - "pm.test(\"Order quantity for the first line is 2\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].OrderQty.value).to.eql(2);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve a Record by Key Fields\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PATCH", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"OrderNbr\": { \"value\": \"000029\" },\r\n \"Details\": [\r\n {\r\n \"id\": \"a1d07920-a402-e911-b818-00155d408001\",\r\n \"OrderQty\": { \"value\": 2 },\r\n \"DiscountAmount\": { \"value\": 5 } \r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details&$select=Details/DiscountAmount,Details/OrderQty,OrderNbr,OrderType", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - }, - { - "key": "$select", - "value": "Details/DiscountAmount,Details/OrderQty,OrderNbr,OrderType" - } - ] - }, - "description": "This example shows the update of a record, which is described in [Update a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1)." - }, - "response": [] - }, - { - "name": "Retrieve a Record by Key Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Order number is 000001\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderNbr.value).to.eql('000001');\r", - "});\r", - "pm.test(\"Sales order includes detail lines\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).length.to.be.gte(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve a Record by ID\");" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/SO/000001?$expand=Details", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "SO", - "000001" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the retrieval of a record by the values of its key fields, which is described in [Retrieve a Record by Key Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=52c97a83-1fa1-40e9-8219-52a89a91f2da)." - }, - "response": [] - }, - { - "name": "Retrieve a Record by ID", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Order number is 000001\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderNbr.value).to.eql('000001');\r", - "});\r", - "pm.test(\"Sales order includes detail lines\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).length.to.be.gte(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Records by Conditions\");" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/a6295b33-c7f6-e811-b817-00155d408001?$expand=Details", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "a6295b33-c7f6-e811-b817-00155d408001" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the retrieval of a record by the value of the entity ID, which is described in [Retrieve a Record by ID](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=bc9531b0-717b-4b2d-8899-ff7ca805ade1)." - }, - "response": [] - }, - { - "name": "Retrieve Records by Conditions", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//The data for sign-in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Modification of stock items before request\r", - "var callback = (pm, error, response) => {\r", - " var endpointurl = pm.collectionVariables.get('EndpointURL');\r", - " var requestAPJAM08 = {\r", - " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"InventoryID\": {\"value\": \"APJAM08\"},\"ItemStatus\": {\"value\": \"Inactive\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestAPJAM08, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for APJAM08 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var requestAPJAM32 = {\r", - " url: endpointurl+'StockItem?$select=InventoryID,Description',\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"InventoryID\": {\"value\": \"APJAM32\"},\"Description\": {\"value\": \"Apple jam, 32 oz\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestAPJAM32, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for APJAM32 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - " });\r", - "}\r", - "//Sign in and modify stock items\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Response contains APJAM32\", function () {\r", - " pm.expect(pm.response.text()).to.include(\"APJAM32\");\r", - "});\r", - "pm.test(\"Response does not contain APJAM08\", function () {\r", - " pm.expect(pm.response.text()).to.not.include(\"APJAM08\");\r", - "});\r", - "//Modification of a stock item after request\r", - "var endpointurl = pm.collectionVariables.get('EndpointURL');\r", - "var requestAPJAM08 = {\r", - " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"InventoryID\": {\"value\": \"APJAM08\"},\"ItemStatus\": {\"value\": \"Active\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestAPJAM08, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for APJAM08 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest(\"Retrieve Records Filtered by Custom Fields\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}StockItem?$expand=WarehouseDetails&$filter=ItemStatus eq 'Active' and LastModified gt datetimeoffset'2024-08-18T23%3A59%3A59.999%2B04%3A00'", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$expand", - "value": "WarehouseDetails" - }, - { - "key": "$filter", - "value": "ItemStatus eq 'Active' and LastModified gt datetimeoffset'2024-08-18T23%3A59%3A59.999%2B04%3A00'" - } - ] - }, - "description": "This example shows the retrieval of records that satisfy the specified conditions, which is described in [Retrieve Records by Conditions](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=775ca16b-cba6-4c1d-89d5-c1df7833bfea)." - }, - "response": [] - }, - { - "name": "Retrieve Records Filtered by Custom Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//The data for sign-in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Sign in and modify stock items\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list has more than 1 item\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.length).to.be.gt(0);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Data from an Inquiry Form\");" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice?$filter=cf.Decimal(f='Document.CuryBalanceWOTotal') eq 0M and cf.DateTime(f='Document.DiscDate') gt datetimeoffset'2024-02-18T23%3A59%3A59.999%2B04%3A00' ", - "host": [ - "{{EndpointURL}}SalesInvoice" - ], - "query": [ - { - "key": "$filter", - "value": "cf.Decimal(f='Document.CuryBalanceWOTotal') eq 0M and cf.DateTime(f='Document.DiscDate') gt datetimeoffset'2024-02-18T23%3A59%3A59.999%2B04%3A00' " - } - ] - }, - "description": "This example shows the retrieval of records that satisfy the specified conditions, which is described in [Retrieve Records by Conditions](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=775ca16b-cba6-4c1d-89d5-c1df7833bfea)." - }, - "response": [] - }, - { - "name": "Retrieve Data from an Inquiry Form", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"InventoryID is SIMCARD\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.InventoryID.value).to.eql('SIMCARD');\r", - "});\r", - "pm.test(\"Response includes one detail line\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Results).to.have.lengthOf(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Records in Batches\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\" : {\"value\" : \"SIMCARD\" } ,\r\n \"WarehouseID\" : {\"value\" : \"YOGI\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}InventorySummaryInquiry?$expand=Results", - "host": [ - "{{EndpointURL}}InventorySummaryInquiry" - ], - "query": [ - { - "key": "$expand", - "value": "Results" - } - ] - }, - "description": "This example shows the retrieval of data from an inquiry form, which is described in [Retrieve Data from an Inquiry Form](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6340cff3-4732-4231-9e42-5d1e5e65b5dd)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Records in Batches", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list has 5 items\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.have.lengthOf(5);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Records with Attributes\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}SalesOrder?$top=5&$skip=5&$select=CustomerID,LocationID,OrderNbr,OrderType", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$top", - "value": "5" - }, - { - "key": "$skip", - "value": "5" - }, - { - "key": "$select", - "value": "CustomerID,LocationID,OrderNbr,OrderType" - } - ] - }, - "description": "This example shows how to retrieve the second batch of five sales orders (that is, from 6th to 10th) by using the REST API. This example is described in [Retrieve the List of Records in Batches](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0ea8ce7c-4423-4286-a481-37e7261cc30f)." - }, - "response": [] - }, - { - "name": "Retrieve Records with Attributes", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The contact has one attribute\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " jsonResponse.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.LastName.value === 'Sans' && item.FirstName.value === 'Stephane') {\r", - " pm.expect(item.Attributes.length).to.eq(1);};\r", - " }\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Operate with Archived Records\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Contact?$expand=Attributes&$select=FirstName,LastName,JobTitle,Attributes/AttributeID,Attributes/Value", - "host": [ - "{{EndpointURL}}Contact" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes" - }, - { - "key": "$select", - "value": "FirstName,LastName,JobTitle,Attributes/AttributeID,Attributes/Value" - } - ] - }, - "description": "This example shows how to get leads together with their attributes. This process is described in [Retrieve Records with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=56831ee7-14b0-45ef-8207-dace30beb2cb)." - }, - "response": [] - }, - { - "name": "Operate with Archived Records", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).length.to.be.gt(0);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Remove a Record by Key Fields\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "PX-ApiArchive", - "value": "SHOW", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Shipment?$select=ShipmentNbr,ShipmentDate&$filter=ShipmentDate lt datetimeoffset'2025-12-31'", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$select", - "value": "ShipmentNbr,ShipmentDate" - }, - { - "key": "$filter", - "value": "ShipmentDate lt datetimeoffset'2025-12-31'" - } - ] - }, - "description": "This example shows how to make archived records visible for a request. This process is described in [Operate with Archived Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e03cadc1-a0c5-4ead-8afb-ee78b497beb2)." - }, - "response": [] - }, - { - "name": "Remove a Record by Key Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Remove a Record by ID\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}StockItem/CGFEEDER", - "host": [ - "{{EndpointURL}}StockItem" - ], - "path": [ - "CGFEEDER" - ] - }, - "description": "This example shows the removal of a record by key fields, which is described in [Remove a Record by Key Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d806636f-3cb8-4fd6-bc1e-fef9cdf9683d)." - }, - "response": [] - }, - { - "name": "Remove a Record by ID", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Execute an Action That Is Present in an Endpoint\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "DELETE", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/e59cc6da-cc6c-ea11-b82d-00155d408001", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "e59cc6da-cc6c-ea11-b82d-00155d408001" - ] - }, - "description": "This example shows the removal of a record by its ID, which is described in [Remove a Record by ID](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=04825ddc-c3af-49de-8663-ae119e84b987)." - }, - "response": [] - }, - { - "name": "Execute an Action That Is Present in an Endpoint", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/SO/000001';\r", - "var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Sales order status is Back Order\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Back Order');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest('Execute an Action That Is Present in an Endpoint (Example 2)');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{ \n \"entity\" :\n {\n \"OrderType\" : {\"value\" : \"SO\"}, \n \"OrderNbr\" : {\"value\" : \"000001\"} \n },\n \"parameters\" : \n {}\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/ReopenSalesOrder", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "ReopenSalesOrder" - ] - }, - "description": "This example shows the re-opening of a sales order, which is described in [Execute an Action That Is Present in an Endpoint](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324)." - }, - "response": [] - }, - { - "name": "Execute an Action That Is Present in an Endpoint (Example 2)", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'BusinessAccount/CANDYYY';\r", - "var requestBAccount = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestBAccount, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the business account should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest('Execute a Custom Action');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n \"entity\" : {\n \"BusinessAccountID\": { \"value\": \"CANDYY\" }\n },\n \"parameters\" : {\n \"BusinessAccountID\": { \"value\": \"CANDYYY\" }\n }\n}" - }, - "url": { - "raw": "{{EndpointURL}}BusinessAccount/ChangeBusinessAccountID", - "host": [ - "{{EndpointURL}}BusinessAccount" - ], - "path": [ - "ChangeBusinessAccountID" - ] - }, - "description": "This example shows the changing of the ID of a business account, which is described in [Execute an Action That Is Present in an Endpoint](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324)." - }, - "response": [] - }, - { - "name": "Execute a Custom Action", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'Case/6781fe19-9aa6-eb11-b846-00155d408001';\r", - "var requestCase = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestCase, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the case should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Case status is Closed\", function () {\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Closed');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest('Narrow the List of Records on a Processing Form');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": {\r\n \"id\": \"6781fe19-9aa6-eb11-b846-00155d408001\"\r\n },\r\n \"parameters\": {\r\n \"custom\": {\r\n \"FilterPreview\": {\r\n \"Reason\": {\r\n \"type\" : \"CustomStringField\", \r\n \"value\" : \"Abandoned\"\r\n }\r\n }\r\n }\r\n } \r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Case/Close", - "host": [ - "{{EndpointURL}}Case" - ], - "path": [ - "Close" - ] - }, - "description": "This example shows the closing of a case, which is described in [Execute a Custom Action](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f01f3b8b-56c4-48ab-a043-dcbb10e3bfb3)." - }, - "response": [] - }, - { - "name": "Narrow the List of Records on a Processing Form", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Result is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Result).length.to.be.gt(0);\r", - " //Select the first item in the result to be processed\r", - " jsonResponse.Result.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.rowNumber === 1) {\r", - " item.Selected.value = true;}\r", - " else {item.Selected.value = false}\r", - " }\r", - " pm.collectionVariables.set(\"recordFilter\", JSON.stringify(jsonResponse));\r", - "});\r", - "//Do not sign out before the next request \r", - "//because these requests should be executed in one session\r", - "pm.execution.setNextRequest(\"Execute a Processing Action for Selected Records\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"AssignedToMe\": {\"value\": true},\r\n \"Type\": {\"value\": \"All\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmailProcessing?$expand=Result", - "host": [ - "{{EndpointURL}}EmailProcessing" - ], - "query": [ - { - "key": "$expand", - "value": "Result" - } - ] - }, - "description": "This example shows the application of a filter on a processing form, which is described in [Filter Records on a Processing Form](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2a697d48-0adf-4fa6-b5e5-af1f9459ec59)." - }, - "response": [] - }, - { - "name": "Execute a Processing Action for Selected Records", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//No need to sign in in this request because the sign-in has been done \r", - "//in Narrow the List of Records on a Processing Form. \r", - "//These two requests should be executed in one session." - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " }\r", - " });\r", - " };\r", - "}\r", - "pm.execution.setNextRequest('Retrieve a File Attached to a Record');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Entity\": {{recordFilter}}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmailProcessing/ProcessEmailProcessing", - "host": [ - "{{EndpointURL}}EmailProcessing" - ], - "path": [ - "ProcessEmailProcessing" - ] - }, - "description": "This example shows the execution of a processing action for selected records on a processing form, which is described in [Execute a Processing Action for Selected Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cf740fca-fc35-4d26-a7d2-6c84c50cc07e)." - }, - "response": [] - }, - { - "name": "Execute a Processing Action for All Filtered Records", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Skip this request in collection run\r", - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Request to retrieve the records for processing\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'EmailProcessing?$expand=Result';\r", - " var requestFilter = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"AssignedToMe\": {\"value\": true},\"Type\": {\"value\": \"All\"}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestFilter, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for records for processing should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('filteredRecordID', jsonResponse.id);\r", - " });\r", - " });\r", - "};\r", - "//Sign in and obtained filtered records\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " }\r", - " });\r", - " };\r", - "}\r", - "pm.execution.setNextRequest('');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Entity\": {\"id\": \"{{filteredRecordID}}\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmailProcessing/ProcessAllEmailProcessing", - "host": [ - "{{EndpointURL}}EmailProcessing" - ], - "path": [ - "ProcessAllEmailProcessing" - ] - }, - "description": "This example shows the execution of a processing action for all filtered records on a processing form, which is described in [Execute a Processing Action for All Filtered Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fd52633e-df34-4696-9df3-7d94c8c1b96a)." - }, - "response": [] - }, - { - "name": "Retrieve a File Attached to a Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Request to retrieve the list of attached files\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'StockItem/JUICER20C?$select=InventoryID,files&$expand=files';\r", - " var requestGetFileList = {\r", - " url: url2,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestGetFileList, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for retrieval of the file list should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('fileRef', jsonResponse.files[0].href);\r", - " });\r", - " });\r", - "};\r", - "//Sign in and retrieve the list of files\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The stock item contains a JPG file\", function (){\r", - " pm.expect(pm.response.text()).to.include(\"JFIF\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Schema of Custom Fields and Workflow Actions\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "file", - "file": { - "src": "" - } - }, - "url": { - "raw": "{{BaseURL}}{{fileRef}}", - "host": [ - "{{BaseURL}}{{fileRef}}" - ] - }, - "description": "This example shows the retrieval of a particular file attached to a record, which is described in [Retrieval of a File Attached to a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b1bc82ee-ae6b-442a-a369-863d98f14630).\n\nThe value of the fileRef variable is specified in the pre-request script." - }, - "response": [] - }, - { - "name": "Attach a File to a Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Excluded from collection run\r", - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Request to retrieve the path for attachment\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'StockItem/EJECTOR03?$select=InventoryID';\r", - " var requestPath = {\r", - " url: url2,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPath, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the attachment path should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " const fileRef = jsonResponse._links['files:put'];\r", - " pm.collectionVariables.set('fileRef', fileRef.replace('{filename}','T2MCRO.jpg'));\r", - " });\r", - " });\r", - "};\r", - "//Sign in and retrieve the attachment path\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "pm.test(\"Location is present\", function () {\r", - " pm.response.to.have.header(\"Location\");\r", - "});\r", - "//Check comment text\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'StockItem/EJECTOR03?$select=InventoryID,files&$expand=files';\r", - "var requestPath = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "\r", - "pm.sendRequest(requestPath, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the attachment path should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.files[0].comment).to.eql('Test comment');\r", - " });\r", - "});\r", - "//Sign out and set next request \r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Schema of Custom Fields\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/octet-stream", - "type": "text" - }, - { - "key": "PX-CbFileComment", - "value": "Test comment", - "type": "text" - } - ], - "body": { - "mode": "file", - "file": { - "src": "/C:/Work/Help-and-Training-Examples/IntegrationDevelopment/I330/SourceFiles/T2MCRO.jpg" - } - }, - "url": { - "raw": "{{BaseURL}}{{fileRef}}", - "host": [ - "{{BaseURL}}{{fileRef}}" - ] - }, - "description": "This example shows the attachment of a file to a record, which is described in [Attach a File to a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=591def3d-5fe5-42c1-bb35-cfe5b4c77f6f)." - }, - "response": [] - }, - { - "name": "Retrieve Comments for Attached Files", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Excluded from collection run\r", - "//Attach a File to a Record needs to be executed to have attachments\r", - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Sign in and retrieve the attachment path\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Stock item is EJECTOR03\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.InventoryID.value).to.eql('EJECTOR03');\r", - "});\r", - "pm.test(\"Comment is _Test comment_\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.files[0].comment).to.eql('Test comment');\r", - "});\r", - "//Sign out and set next request \r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem/EJECTOR03?$select=InventoryID,files&$expand=files", - "host": [ - "{{EndpointURL}}StockItem" - ], - "path": [ - "EJECTOR03" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID,files" - }, - { - "key": "$expand", - "value": "files" - } - ] - }, - "description": "This example shows the retrieval of comments for attached files, which is described in [Retrieve Comments for Attached Files](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=dbed8f9a-da49-4d28-888d-437b5a74d41c)." - }, - "response": [] - }, - { - "name": "Retrieve the Schema of Custom Fields and Workflow Actions", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list includes custom fields\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails[0].custom).to.be.not.empty;\r", - "});\r", - "pm.test(\"The retrieved list includes workflow actions\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse._workflowActions.length).to.be.gt(0);\r", - "});\r", - "\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Change the Business Date or Current Branch\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Opportunity/$adHocSchema", - "host": [ - "{{EndpointURL}}Opportunity" - ], - "path": [ - "$adHocSchema" - ] - }, - "description": "This example shows the retrieval of the schema of custom fields, which is described in [Retrieve the Schema of Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=64daacf1-75c4-4bfa-b57b-36222020e7c9)." - }, - "response": [] - }, - { - "name": "Retrieve a Record with Custom Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Order number is 000087\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderNbr.value).to.eql('000087');\r", - "});\r", - "pm.test(\"Product is Apple jam 8 oz.\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.custom.Document.AttributePRODUCT.value).to.eql('Apple jam 8 oz.');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}SalesOrder/SO/000087?$custom=Document.AttributePRODUCT", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "SO", - "000087" - ], - "query": [ - { - "key": "$custom", - "value": "Document.AttributePRODUCT" - } - ] - }, - "description": "This example shows the retrieval of a user-defined field PRODUCT added to the Sales Order form, which is described in [Retrieve a Record with Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=01266cc0-6eb1-4e41-b049-246e5915496d)." - }, - "response": [] - }, - { - "name": "Create a Record with Custom Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Product is Apple jam 8 oz.\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.custom.Document.AttributePRODUCT.value).to.eql('Apple jam 8 oz.');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"SO\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"custom\": {\r\n \"Document\": {\r\n \"AttributePRODUCT\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"Apple jam 8 oz.\"\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$custom=Document.AttributePRODUCT", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$custom", - "value": "Document.AttributePRODUCT" - } - ] - }, - "description": "This example shows the creation of a sales order with the user-defined field PRODUCT, which is described in [Createe a Record with Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6397c034-d191-4302-8f9d-0a0aec5b5ba8)." - }, - "response": [] - }, - { - "name": "Retrieve Localized Values of a Multi-Language Field", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"English translation is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].custom.Item.DescrTranslations.value).contains('en');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem?$custom=Item.DescrTranslations&$select=custom.Item", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$custom", - "value": "Item.DescrTranslations" - }, - { - "key": "$select", - "value": "custom.Item" - } - ] - }, - "description": "This example shows the retrieval of localized values of a multi-language field, which is described in [Retrieve Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=44710da9-8e91-4836-92eb-d20a32a5dca6)." - }, - "response": [] - }, - { - "name": "Retrieve Localized Values of All Multi-Language Fields", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"English translation is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].Description.translations.en).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem?$expand=Translations", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$expand", - "value": "Translations" - } - ] - }, - "description": "This example shows the retrieval of all localized values of all multi-language fields, which is described in [Retrieve Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=44710da9-8e91-4836-92eb-d20a32a5dca6)." - }, - "response": [] - }, - { - "name": "Specify Any Number of Localized Values of a Multilingual Field", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Translations include French\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Description.translations.fr).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\" : { \"value\" : \"LAPTOP15\" },\r\n \"Description\" : {\r\n \"value\": \"new description in English\",\r\n \"Translations\": {\r\n \"fr\": \"nouvelle description en français\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}StockItem?$select=InventoryID,Description,Translations&$expand=Translations", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID,Description,Translations" - }, - { - "key": "$expand", - "value": "Translations" - } - ] - }, - "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." - }, - "response": [] - }, - { - "name": "Specify All Localized Values of a Multi-Language Field", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Translations include French\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.custom.Item.DescrTranslations.value).contains('fr');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\" : {\"value\" : \"BASESERV\" },\r\n \"ItemClass\" : {\"value\" : \"COMPUTERS\" },\r\n \"Description\" : {\"value\" : \"[{en:Item},{fr:Pièce}]\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}StockItem?$custom=Item.DescrTranslations&$select=custom.Item", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$custom", - "value": "Item.DescrTranslations" - }, - { - "key": "$select", - "value": "custom.Item" - } - ] - }, - "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." - }, - "response": [] - }, - { - "name": "Request a Report", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 200)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " pm.test('Response contains pdf', function () {\r", - " pm.expect(response.headers.get('content-type')).to.include('application/pdf');\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " }\r", - " });\r", - " };\r", - "}\r", - "pm.execution.setNextRequest('');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/pdf", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CompanyBranch\": {\"value\": \"SOFT\"},\r\n \"IncludeNonClearedTransactions\": {\"value\": true}\r\n}" - }, - "url": { - "raw": "{{InstanceURL}}/entity/Report/0001/CashAccountSummary", - "host": [ - "{{InstanceURL}}" - ], - "path": [ - "entity", - "Report", - "0001", - "CashAccountSummary" - ] - }, - "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." - }, - "response": [] - }, - { - "name": "Change the Business Date or Current Branch", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Branch is RETAIL\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.BranchID.value).to.eql('RETAIL');\r", - "});\r", - "pm.test(\"Post period is 012025\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PostPeriod.value).to.eql('012025');\r", - "});\r", - "pm.test(\"Transaction date is 2025-01-01\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TransactionDate.value).contains('2025-01-01');\r", - "});\r", - "\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Acumatica ERP Version and the List of Endpoints\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "PX-CbApiBusinessDate", - "value": "2025/01/01", - "type": "text" - }, - { - "key": "PX-CbApiBranch", - "value": "SweetLife Store", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Description\": {\"value\": \"Test transaction description\"},\r\n \"PostPeriod\": {\"value\": \"01-2025\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}JournalTransaction", - "host": [ - "{{EndpointURL}}JournalTransaction" - ] - }, - "description": "This example shows how to set the active branch and business date for a request. This process is described in [Change the Business Date or Current Branch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9821cff9-4970-4153-a0f8-dbf5758133a7)." - }, - "response": [] - }, - { - "name": "Retrieve the Acumatica ERP Version and the List of Endpoints", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list includes the latest system endpoint\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " let endpointExists = false;\r", - " jsonResponse.endpoints.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.name === 'Default' & item.version === '22.200.001') {\r", - " endpointExists = true;}\r", - " }\r", - " pm.expect(endpointExists).to.eql(true);\r", - "});\r", - "\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Account Group\");" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{InstanceURL}}/entity", - "host": [ - "{{InstanceURL}}" - ], - "path": [ - "entity" - ] - }, - "description": "This example obtains the Acumatica ERP version and the list of contract-based endpoints available in this version by using the REST API. This example is described in [Retrieve the Acumatica ERP Version and the List of Endpoints](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=da0fe495-b2e5-4d34-ab5a-5829e408f684)." - }, - "response": [] - } - ], - "description": "This folder contains examples from the [Basic Requests](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1c767ad9-da6d-4047-bc93-6970ad469504) chapter of the Integration Development Guide.", - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "" - ] - } - } - ] - }, - { - "name": "Account", - "item": [ - { - "name": "Add an Account to an Account Group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The 40000 account is in the ACCG02 group\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.AccountCD.value).to.eql('40000');\r", - " pm.expect(jsonResponse.AccountGroup.value).to.eql('ACCG02');\r", - "});\r", - "//Add another account to the group\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'Account';\r", - "var request40010 = {\r", - " url: url,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"AccountCD\" : {\"value\" : \"40010\"},\"AccountGroup\" : {\"value\" : \"ACCG02\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(request40010, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for 40010 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " \r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest(\"Specify the Default Account of an Account Group\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"AccountCD\" : {\"value\" : \"40000\"},\r\n \"AccountGroup\" : {\"value\" : \"ACCG02\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Account", - "host": [ - "{{EndpointURL}}Account" - ] - }, - "description": "This example shows how to add an account to an account group in Acumatica ERP. This process is described in [Add an Account to an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c11c1255-8dc2-4f80-8aaf-b2cf073a9387)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Accounts in a Group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The 40000 account is in the ACCG02 group\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " jsonResponse.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.AccountCD.value === \"40000\") {pm.expect(item.AccountGroup.value).to.eql('ACCG02');};\r", - " }\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Remove an Account from a Group\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Account?$filter=AccountGroup%20eq%20'ACCG02'&$select=AccountCD", - "host": [ - "{{EndpointURL}}Account" - ], - "query": [ - { - "key": "$filter", - "value": "AccountGroup%20eq%20'ACCG02'" - }, - { - "key": "$select", - "value": "AccountCD" - } - ] - }, - "description": "This example shows how to retrieve the list of accounts that are in an account group in Acumatica ERP. This process is described in [Retrieve the List of Accounts in a Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=958a189e-8574-4d4a-9e92-87554773b51d)." - }, - "response": [] - }, - { - "name": "Remove an Account from a Group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The 40010 account is not in any group\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.AccountCD.value).to.eql('40010');\r", - " pm.expect(jsonResponse.AccountGroup).to.be.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Get General Ledger Transactions for Some Period\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"AccountCD\" : {\"value\" : \"40010\"},\r\n \"AccountGroup\" : {\"value\" : null}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Account", - "host": [ - "{{EndpointURL}}Account" - ] - }, - "description": "This example shows how to remove an account from an account group in Acumatica ERP. This process is described in [Remove an Account from a Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=40bea35c-ca46-48d2-b7cb-00a1f80261d9)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Account](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4dc38e0f-e7fe-41cf-8370-fe900753d7a4) entity." - }, - { - "name": "AccountDetailsForPeriodInquiry", - "item": [ - { - "name": "Get General Ledger Transactions for Some Period", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Results list is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Results).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Case\");\r", - "\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"FromPeriod\": { \"value\": \"032023\" },\r\n \"ToPeriod\": { \"value\": \"042023\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}AccountDetailsForPeriodInquiry?$expand=Results", - "host": [ - "{{EndpointURL}}AccountDetailsForPeriodInquiry" - ], - "query": [ - { - "key": "$expand", - "value": "Results" - } - ] - }, - "description": "This example shows the retrieval of general ledger transactions for the specified period, which is described in [Get General Ledger Transactions for Some Period](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=249c70a0-0f08-4a02-a80c-6a9e4c4cc0fe)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [AccountDetailsForPeriodInquiry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5459946e-edff-44e7-853a-3613cfcfcea3) entity." - }, - { - "name": "AccountGroup", - "item": [ - { - "name": "Create an Account Group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The ACCG02 account group is created\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.AccountGroupID.value).to.eql('ACCG02');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Add an Account to an Account Group\");\r", - "\r", - "\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"AccountGroupID\" : {\"value\" : \"ACCG02\"},\r\n \"Description\" : {\"value\" : \"Test Account Group\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}AccountGroup", - "host": [ - "{{EndpointURL}}AccountGroup" - ] - }, - "description": "This example shows how to create an account group in Acumatica ERP. This process is described in [Create an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d4ad7ce9-d197-404b-865a-26cd6073df1f)." - }, - "response": [] - }, - { - "name": "Specify the Default Account of an Account Group", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The 40000 account is the default account\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.AccountGroupID.value).to.eql('ACCG02');\r", - " pm.expect(jsonResponse.DefaultAccountID.value).to.eql('40000');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Accounts in a Group\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"DefaultAccountID\" : {\"value\" : \"40000\"},\r\n \"AccountGroupID\" : {\"value\" : \"ACCG02\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}AccountGroup", - "host": [ - "{{EndpointURL}}AccountGroup" - ] - }, - "description": "This example shows how to set an account as the default account of an account group in Acumatica ERP. This process is described in [Specify the Default Account of an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=98c96a8d-de93-4062-aeec-b3a991af3afc)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [AccountGroup](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=92e21de7-7cdc-4507-95d4-537361e6569b) entity." - }, - { - "name": "Activity", - "item": [ - { - "name": "Create an Activity that is Linked to a Case", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Related entity type is case\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.CR.CRCase');\r", - "});\r", - "//Sign out and the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Link a Case to Another Case\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{caseEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.CR.CRCase\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Activity", - "host": [ - "{{EndpointURL}}Activity" - ] - }, - "description": "This example shows the creation of an activity that is linked to a case, which is described in [Create an Activity that is Linked to a Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=281011f8-aaf5-440f-a558-ff83afd09e62).\n\nThis request requires the value of caseEntityID collection variable. You can set it manually or by executing the Create a Case request." - }, - "response": [] - }, - { - "name": "Create an Activity that is Linked to a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Related entity type is customer\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.AR.Customer');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Customers with Contacts\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test 2\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{customerEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.AR.Customer\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test 2\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Activity", - "host": [ - "{{EndpointURL}}Activity" - ] - }, - "description": "This example shows the creation of an activity that is linked to a customer, which is described in [Create an Activity that is Linked to a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=19b027ab-a469-481c-94c7-567f9884bbab).\n\nThis request requires the value of customerEntityID collection variable. You can set it manually or by executing the Create a Customer request." - }, - "response": [] - }, - { - "name": "Create an Activity that is Linked to a Lead", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Related entity type is lead\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.CR.CRLead');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Bill for Particular Lines of a Purchase Order\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test 3\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{leadEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.CR.CRLead\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test 3\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Activity", - "host": [ - "{{EndpointURL}}Activity" - ] - }, - "description": "This example shows the creation of an activity that is linked to a lead, which is described in [Create an Activity that is Linked to a Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=498dbbec-97a2-416b-a151-459ed07994dd).\n\nThis request requires the value of leadEntityID collection variable. You can set it manually or by executing the Create a Lead request." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Activity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6856d876-f6fd-407d-a530-01b81fbeeb49) entity." - }, - { - "name": "Bill", - "item": [ - { - "name": "Create a Bill for Particular Lines of a Purchase Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Vendor is PRINTICO\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Vendor.value).to.eql('PRINTICO');\r", - "});\r", - "pm.test(\"Bill has one detail line\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", - "});\r", - "pm.test(\"Qty of detail line is 5\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Qty.value).to.eql(5);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Bill for Particular Lines of a Purchase Receipt');\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"Vendor\": {\r\n \"value\": \"PRINTICO\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"123\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Bill for particular lines of a purchase order\"\r\n },\r\n \"Details\": [\r\n {\r\n \"POOrderType\": {\r\n \"value\": \"Normal\"\r\n },\r\n \"POOrderNbr\": {\r\n \"value\": \"000001\"\r\n },\r\n \"POLine\": {\r\n \"value\": 1\r\n },\r\n \"Qty\":\r\n {\r\n \t\"value\": 5\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Bill?$select=ReferenceNbr,Details/POOrderNbr,Details/POOrderNbr,Details/InventoryID,Details/Qty&$expand=Details", - "host": [ - "{{EndpointURL}}Bill" - ], - "query": [ - { - "key": "$select", - "value": "ReferenceNbr,Details/POOrderNbr,Details/POOrderNbr,Details/InventoryID,Details/Qty" - }, - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create an AP bill for a particular line of a purchase order in Acumatica ERP. This process is described in [Create a Bill for Particular Lines of a Purchase Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a1116acb-66aa-4415-8148-5bbab45b0a50)." - }, - "response": [] - }, - { - "name": "Create a Bill for Particular Lines of a Purchase Receipt", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Vendor is OFFICEUP\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Vendor.value).to.eql('OFFICEUP');\r", - "});\r", - "pm.test(\"Bill has one detail line\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", - "});\r", - "pm.test(\"Qty of detail line is 5\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Qty.value).to.eql(15);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Bill with Tax Parameters Overridden\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"Vendor\": {\r\n \"value\": \"OFFICEUP\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"123\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Bill for particular lines of a purchase receipt\"\r\n },\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\r\n \"value\": \"000001\"\r\n },\r\n \"POReceiptLine\": {\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Bill?$select=ReferenceNbr,Details/POReceiptNbr,Details/InventoryID,Details/Qty&$expand=Details", - "host": [ - "{{EndpointURL}}Bill" - ], - "query": [ - { - "key": "$select", - "value": "ReferenceNbr,Details/POReceiptNbr,Details/InventoryID,Details/Qty" - }, - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create an AP bill for a particular line of a purchase receipt in Acumatica ERP. This process is described in [Create a Bill for Particular Lines of a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=dadf0b5e-6ff5-4fb3-b089-60be8c8514b2)." - }, - "response": [] - }, - { - "name": "Create a Bill with Tax Parameters Overridden", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "//Requests to configure taxes\r", - "var callback = (pm, error, response) => {\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'Tax/PST';\r", - " var requestGetTax = {\r", - " url: url1,\r", - " method: 'GET',\r", - " };\r", - "\r", - " pm.sendRequest(requestGetTax, (error, response) => {\r", - " if(response.code != 200) {\r", - "\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Tax';\r", - " var requestAddTax = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxID\": { \"value\": \"PST\"},\"Description\": {\"value\": \"Tax ID for testing\"},\"TaxType\": {\"value\": \"VAT\"},\"IncludeInVATTaxableTotal\": {\"value\": true},\"ExcludeFromTaxonTaxCalculation\": {\"value\": true},\"TaxAgency\": {\"value\": \"CANADABC\"},\"TaxSchedule\": [{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Input Tax (purchases)\"}},{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Output Tax (sales)\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTax, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var url3 = pm.collectionVariables.get('EndpointURL') + 'TaxCategory';\r", - " var requestAddTaxCategory = {\r", - " url: url3,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxCategoryID\": { \"value\": \"TEST\"},\"Description\": {\"value\": \"Tax category for test\"},\"Details\": [{\"TaxID\": {\"value\": \"CAGST\"}},{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTaxCategory, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax category should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var url4 = pm.collectionVariables.get('EndpointURL') + 'TaxZone';\r", - " var requestAddTaxZone = {\r", - " url: url4,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxZoneID\": { \"value\": \"CANADABC\"},\"ApplicableTaxes\": [{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTaxZone, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax zone should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " }); \r", - " });\r", - " });\r", - " });\r", - " }\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Tax amount for both details is 150\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails[0].TaxAmount.value).to.eql(150);\r", - " pm.expect(jsonResponse.TaxDetails[1].TaxAmount.value).to.eql(150);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Release Retainage\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Amount\": {\r\n \"value\": 1120.0\r\n },\r\n \"CashDiscountDate\": {\r\n \"value\": \"11/18/2021\"\r\n },\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"Date\": {\r\n \"value\": \"10/18/2021\"\r\n },\r\n \"DueDate\": {\r\n \"value\": \"11/18/2021\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"102021\"\r\n },\r\n \"Status\": {\r\n \"value\": \"Balanced\"\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 120.0\r\n },\r\n \"Terms\": {\r\n \"value\": \"30D\"\r\n },\r\n \"Type\": {\r\n \"value\": \"Bill\"\r\n },\r\n \"Vendor\": {\r\n \"value\": \"AAVENDOR\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"test-API22\"\r\n },\r\n \"Description\": {\r\n \"value\": \"test-API\"\r\n },\r\n \"IsTaxValid\": {\r\n \"value\": true\r\n },\r\n \"Details\": [\r\n {\r\n \"Account\": {\r\n \"value\": \"50000\"\r\n },\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"CostCode\": {\r\n \"value\": null\r\n },\r\n \"ExtendedCost\": {\r\n \"value\": 1000.0\r\n },\r\n \"Project\": {\r\n \"value\": \"X\"\r\n },\r\n \"Subaccount\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxCategory\": {\r\n \"value\": \"TEST\"\r\n }\r\n }\r\n ],\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": {\r\n \"value\": \"CAGST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"ExpenseAmount\": {\r\n \"value\": 0.0\r\n }\r\n },\r\n {\r\n \"TaxID\": {\r\n \"value\": \"PST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"custom\": {\r\n \"Taxes\": {\r\n \"CuryExpenseAmt\": {\r\n \"type\": \"CustomDecimalField\",\r\n \"value\": 70\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"CANADABC\"\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Bill?$expand=Details,TaxDetails", - "host": [ - "{{EndpointURL}}Bill" - ], - "query": [ - { - "key": "$expand", - "value": "Details,TaxDetails" - } - ] - }, - "description": "This example shows how to create an AP bill for which system taxes are overridden. This process is described in [Create a Bill with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b5e17d52-f113-438c-a203-c5ce85f7f52f)." - }, - "response": [] - }, - { - "name": "Approve a Bill", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = \"johnson\";\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "if (pm.response.code === 204) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the bill should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Bill status is Balanced\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Balanced');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": {\r\n \"Type\": {\"value\": \"Bill\"},\r\n \"ReferenceNbr\": {\"value\": \"000159\"}\r\n },\r\n \"parameters\": {}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Bill/Approve", - "host": [ - "{{EndpointURL}}Bill" - ], - "path": [ - "Approve" - ] - }, - "description": "This example shows how to approve a bill in Acumatica ERP. This process is described in [Approve a Bill](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d2501c01-f3da-45be-b056-2143b31f98e0)." - }, - "response": [] - }, - { - "name": "Release Retainage", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " { \r", - " var url = pm.collectionVariables.get('EndpointURL') + \"Bill/Bill/000072?$expand=RetainageDocuments\";\r", - " var requestBill = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestBill, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the bill should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Bill contains at least one retainage document\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.RetainageDocuments).length.to.be.greaterThanOrEqual(1);\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Retrieve the List of Business Accounts\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "PX-CbApiBusinessDate", - "value": "2026/04/01", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": {\r\n \"Type\": {\r\n \"value\": \"Bill\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"000072\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"Date\": {\r\n \"value\": \"2026-03-01T11:00:00.000Z\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"032026\"\r\n },\r\n \"AmtToRelease\": {\r\n \"value\": 500\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Bill/ReleaseRetainage", - "host": [ - "{{EndpointURL}}Bill" - ], - "path": [ - "ReleaseRetainage" - ] - }, - "description": "This example shows how to create a retainage document in Acumatica ERP. This process is described in [Release Retainage](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=08780d31-7ad7-4f6f-9c54-2e12a9533116)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Bill](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=74a426d9-d4f7-4005-ba45-d88817d62dff) entity." - }, - { - "name": "BillOfMaterial", - "item": [ - { - "name": "Create a Bill of Material", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Operations are not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Operations).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Retrieve the Bills of Material');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{ \r\n \"BOMID\": { \r\n \"value\": \"\" \r\n },\r\n \"Description\": {\r\n\t \"value\": \"Test BOM\"\r\n\t},\r\n \"InventoryID\": {\r\n \"value\": \"CABINET\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"Material\" :[\r\n {\r\n \"InventoryID\": {\r\n \"value\": \"HINGE\"\r\n },\r\n \"UOM\":{\r\n \"value\": \"EA\"\r\n } \r\n }\r\n ]\r\n }\r\n\t\t],\r\n \"Revision\": {\r\n \"value\": \"A\"\r\n }\r\n}" - }, - "url": { - "raw": "{{ManufacturingEndpointURL}}BillOfMaterial?$expand=Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools", - "host": [ - "{{ManufacturingEndpointURL}}BillOfMaterial" - ], - "query": [ - { - "key": "$expand", - "value": "Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools" - } - ] - }, - "description": "This example shows how to create a bill of material. This process is described in [Create a Bill of Material](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3132bec8-c1e3-48f9-b6c3-80662fe9fe27)." - }, - "response": [] - }, - { - "name": "Retrieve the Bills of Material", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"First BOMID is BOM000001\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].BOMID.value).to.be.eql('BOM000001');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Details of Bill of Material's Operations\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{ManufacturingEndpointURL}}BillOfMaterial?$expand=Operations", - "host": [ - "{{ManufacturingEndpointURL}}BillOfMaterial" - ], - "query": [ - { - "key": "$expand", - "value": "Operations" - } - ] - }, - "description": "This example shows how to retrieve all available bills of material. This process is described in [Retrieve the Bills of Material](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=58a2b2bd-88fa-4d26-a55a-62fd8f3309c1)." - }, - "response": [] - }, - { - "name": "Retrieve the Details of Bill of Material's Operations", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Material is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Operations[0].Material).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [], - "url": { - "raw": "{{ManufacturingEndpointURL}}BillOfMaterial/BOM000001/A?$expand=Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools", - "host": [ - "{{ManufacturingEndpointURL}}BillOfMaterial" - ], - "path": [ - "BOM000001", - "A" - ], - "query": [ - { - "key": "$expand", - "value": "Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools" - } - ] - }, - "description": "This example shows how to retrieve the details of the operations of a bill of material. This process is described in [Retrieve the Details of Bill of Material's Operations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=981a9fe7-82b9-4667-ae8f-b0ed72fe2ed6)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [BillOfMaterial](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a3d65aae-9011-4159-878b-a35872532083) entity." - }, - { - "name": "BusinessAccount", - "item": [ - { - "name": "Retrieve the List of Business Accounts", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One business account is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"The first account's activity list is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].Activities).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Companies' Structure\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}BusinessAccount?$expand=Activities,Campaigns,Cases,Orders&$filter=BusinessAccountID eq 'ABAKERY'", - "host": [ - "{{EndpointURL}}BusinessAccount" - ], - "query": [ - { - "key": "$expand", - "value": "Activities,Campaigns,Cases,Orders" - }, - { - "key": "$filter", - "value": "BusinessAccountID eq 'ABAKERY'" - } - ] - }, - "description": "This example shows the retrieval of business accounts, which is described in [Retrieve the List of Business Accounts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=010531ea-dce0-4442-bce5-809e4e52afa8)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [BusinessAccount](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e097d567-249a-4ec2-8891-016578a15f50) entity." - }, - { - "name": "Case", - "item": [ - { - "name": "Create a Case", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Contact is Beverly Hail\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ContactDisplayName.value).to.eql('Beverly Hail');\r", - " pm.collectionVariables.set('caseEntityID', jsonResponse.id);\r", - "});\r", - "//Sign out and the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Case\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ClassID\": {\"value\": \"JREPAIR\"},\r\n \"BusinessAccount\": {\"value\": \"ABAKERY\"},\r\n \"ContactID\": {\"value\": \"100211\"},\r\n \"Subject\": {\"value\": \"Some Subject\"},\r\n \"custom\": {\r\n \"Case\": {\r\n \"AttributeMODEL\": {\r\n \"value\": \"JUICER15:Commercial juicer with a prod rate of 1.5 l per min\"\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Case?$expand=Attributes", - "host": [ - "{{EndpointURL}}Case" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes" - } - ] - }, - "description": "This example shows the creation of a case, which is described in [Create a Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a9a35cac-f845-4d4b-a47d-107ec2cd4322)." - }, - "response": [] - }, - { - "name": "Link a Case to Another Case", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Related case is 000004\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.RelatedCases[0].CaseID.value).to.eql('000004');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Customer\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"ClassID\": {\r\n \"value\": \"SERVCONS\"\r\n },\r\n \"BusinessAccount\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Subject\": {\r\n \"value\": \"Billing plan\"\r\n },\r\n \"RelatedCases\": [\r\n {\r\n \"CaseID\": {\r\n \"value\": \"000004\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Case?$expand=RelatedCases", - "host": [ - "{{EndpointURL}}Case" - ], - "query": [ - { - "key": "$expand", - "value": "RelatedCases" - } - ] - }, - "description": "This example shows how to create a case that relates to another case in Acumatica ERP. This process is described in [Linking of a Case to Another Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=adea49ab-d958-4dd2-95aa-70e078564b07)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3cb9b4b1-8c78-4b16-a026-c55a11953e00) entity." - }, - { - "name": "CompaniesStructure", - "item": [ - { - "name": "Retrieve the Companies' Structure", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Six branches are returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Results).to.has.lengthOf(6);\r", - "});\r", - "pm.test(\"One of the branches is HEADOFFICE\", function (){\r", - " pm.expect(pm.response.text()).to.include(\"HEADOFFICE\");\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Contact with Attributes\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{}" - }, - "url": { - "raw": "{{EndpointURL}}CompaniesStructure?$expand=Results", - "host": [ - "{{EndpointURL}}CompaniesStructure" - ], - "query": [ - { - "key": "$expand", - "value": "Results" - } - ] - }, - "description": "This example shows how to retrieve available companies and branches. This process is described in [Retrieve the Companies' Structure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d8d9b99f-019c-410c-a49e-d90a5b813809)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [CompaniesStructure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6e0f2b89-a66f-403a-af79-a87d2b31c735) entity." - }, - { - "name": "ConfigurationEntry", - "item": [ - { - "name": "Retrieve a Configuration Entry", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{ManufacturingEndpointURL}}ConfigurationEntry/AMC000001?$expand=Attributes,Features/Options", - "host": [ - "{{ManufacturingEndpointURL}}ConfigurationEntry" - ], - "path": [ - "AMC000001" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes,Features/Options" - } - ] - } - }, - "response": [] - }, - { - "name": "Update a Configuration Entry", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - }, - { - "key": "Accept", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ProdOrderNbr\": {\"value\": \"AM000022\"},\r\n \"ProdOrderType\": {\"value\": \"RO\"},\r\n \"ConfigResultsID\": {\"value\": \"5\"},\r\n \"ConfigurationID\": {\"value\": \"AMC000003\"},\r\n \"Features\": [\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Options\": [\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"OptionLineNbr\": { \"value\": 1 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Included\": { \"value\": true }\r\n },\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"OptionLineNbr\": { \"value\": 2 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Included\": { \"value\": true }\r\n }\r\n ]\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{ManufacturingEndpointURL}}ConfigurationEntry?$expand=Attributes,Features/Options", - "host": [ - "{{ManufacturingEndpointURL}}ConfigurationEntry" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes,Features/Options" - } - ] - } - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [CompaniesStructure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6e0f2b89-a66f-403a-af79-a87d2b31c735) entity." - }, - { - "name": "Contact", - "item": [ - { - "name": "Create a Contact with Attributes", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Contact with Edds last name is created\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.LastName.value).to.be.eql('Edds');\r", - "});\r", - "pm.test(\"Contact is active\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Active');\r", - "});\r", - "pm.test(\"Attribute is added\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Attributes[0].AttributeDescription.value).to.be.eql('Interested in');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Deactivate a Contact\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"FirstName\": {\"value\": \"Brent\"},\r\n \"LastName\": {\"value\": \"Edds\"},\r\n \"Email\": {\"value\": \"brent.edds.test27@avantehs.com\"},\r\n \"ContactClass\": {\"value\": \"ENDCUST\"},\r\n \"Attributes\": [\r\n {\r\n \"AttributeID\": {\"value\": \"INTEREST\"},\r\n \"Value\": {\"value\": \"Jam,Maint\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Contact?$expand=Attributes", - "host": [ - "{{EndpointURL}}Contact" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes" - } - ] - }, - "description": "This example shows the creation of a contact with attributes, which is described in [Create a Contact with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=832734ca-ea2a-4ff8-8a91-c263927c8286)." - }, - "response": [] - }, - { - "name": "Deactivate a Contact", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Contact with Edds last name is retrieved\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.LastName.value).to.be.eql('Edds');\r", - "});\r", - "pm.test(\"Contact is inactive\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Inactive');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Contacts\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"Active\": {\"value\": false}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Contact?$filter=FirstName eq 'Brent' and LastName eq 'Edds'", - "host": [ - "{{EndpointURL}}Contact" - ], - "query": [ - { - "key": "$filter", - "value": "FirstName eq 'Brent' and LastName eq 'Edds'" - } - ] - }, - "description": "This example shows the activation of a contact, which is described in [Activate a Contact](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=77e8d81b-5495-44d4-82fb-e9f2e3887aea)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Contacts", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One contact is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Contact with Kelly last name is retrieved\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].LastName.value).to.be.eql('Kelly');\r", - "});\r", - "pm.test(\"Opportunities list is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].Opportunities).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Link Multiple Contacts to a Customer\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Contact?$expand=Activities,Address,Attributes,Campaigns,Cases,Notifications,Opportunities&$filter=ContactID eq 100073", - "host": [ - "{{EndpointURL}}Contact" - ], - "query": [ - { - "key": "$expand", - "value": "Activities,Address,Attributes,Campaigns,Cases,Notifications,Opportunities" - }, - { - "key": "$filter", - "value": "ContactID eq 100073" - } - ] - }, - "description": "This example shows the retrieval of contacts, which is described in [Retrieve the List of Contacts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cc4852c3-abc9-4619-a355-183647c94948)." - }, - "response": [] - }, - { - "name": "Link Multiple Contacts to a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "var url = pm.collectionVariables.get('EndpointURL') + 'Customer/ABAKERY?$expand=Contacts';\r", - "var requestABAKERY = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestABAKERY, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for ABAKERY should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"The customer has at least two contacts\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Contacts).length.gte(2);\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest(\"Create an Employee\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"BusinessAccount\": {\"value\": \"ABAKERY\"},\r\n \"ContactID\": {\"value\": 100196},\r\n \"LastName\": {\"value\": \"Doe\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Contact", - "host": [ - "{{EndpointURL}}Contact" - ] - }, - "description": "This example shows how to links multiple contacts to a customer, which is described in [Link Multiple Contacts to a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=47f2d6fe-b9b8-44ca-961f-37b4935bad24)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Contact](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=90132644-1859-4e07-b35b-ad0575c2c6fc) entity." - }, - { - "name": "Customer", - "item": [ - { - "name": "Create a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Customer ID is CUST01\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('CUST01');\r", - " pm.collectionVariables.set('customerEntityID', jsonResponse.id);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Customer\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"Cust01\"},\r\n \"CustomerName\": {\"value\": \"Custumer 01\"},\r\n \"CustomerClass\": {\"value\": \"DEFAULT\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer", - "host": [ - "{{EndpointURL}}Customer" - ] - }, - "description": "This example shows the creation of a customer, which is described in [Create a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=51059f24-01f8-4d78-a17b-cc255fe8b8e0)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Customers with Contacts", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The number of customers is more than 1\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).length.to.be.greaterThan(1);\r", - "});\r", - "pm.test(\"The first customer main contact and address are not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].MainContact).to.be.not.empty;\r", - " pm.expect(jsonResponse[0].MainContact.Address).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update a Customer\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Customer?$expand=MainContact,MainContact/Address&$select=CustomerID,CustomerName,CustomerClass,MainContact/Email,MainContact/Phone1,MainContact/Address/AddressLine1,MainContact/Address/AddressLine2,MainContact/Address/City,MainContact/Address/State,MainContact/Address/PostalCode", - "host": [ - "{{EndpointURL}}Customer" - ], - "query": [ - { - "key": "$expand", - "value": "MainContact,MainContact/Address" - }, - { - "key": "$select", - "value": "CustomerID,CustomerName,CustomerClass,MainContact/Email,MainContact/Phone1,MainContact/Address/AddressLine1,MainContact/Address/AddressLine2,MainContact/Address/City,MainContact/Address/State,MainContact/Address/PostalCode" - } - ] - }, - "description": "This example shows the retrieval of all customers along with their contacts in Acumatica ERP, which is described in [Retrieve the List of Customers with Contacts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=322dc7ce-3e84-437c-a934-375f37ed2f70)." - }, - "response": [] - }, - { - "name": "Update a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Customer ID is C000000003\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('C000000003');\r", - "});\r", - "pm.test(\"Customer class is INTL\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerClass.value).to.eql('INTL');\r", - "});\r", - "pm.test(\"Billing contact email is green@jevy-comp.con\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.BillingContact.Email.value).to.eql('green@jevy-comp.con');\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the Shipping Contact of a Customer\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerClass\": {\"value\": \"INTL\"},\r\n \"BillingContactOverride\": {\"value\": true},\r\n \"BillingContact\": {\r\n \"Email\": {\"value\": \"green@jevy-comp.con\"},\r\n \"Attention\": {\"value\": \"Mr. Jack Green\"},\r\n \"JobTitle\": {\"value\": \"\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer?$expand=MainContact,BillingContact&$filter=MainContact/Email eq 'info@jevy-comp.con'&$select=CustomerID,CustomerClass,BillingContact/Email", - "host": [ - "{{EndpointURL}}Customer" - ], - "query": [ - { - "key": "$expand", - "value": "MainContact,BillingContact" - }, - { - "key": "$filter", - "value": "MainContact/Email eq 'info@jevy-comp.con'" - }, - { - "key": "$select", - "value": "CustomerID,CustomerClass,BillingContact/Email" - } - ] - }, - "description": "This example shows the update of a customer in Acumatica ERP, which is described in [Update a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=87dd5c39-0a0b-4086-8aa5-791657073bbd)." - }, - "response": [] - }, - { - "name": "Enable Currency Overriding and Rate Overriding for a Customer", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Currency rate type is SPOT\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('FRUITICO');\r", - " pm.expect(jsonResponse.CurrencyRateType.value).to.eql('SPOT');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"EnableCurrencyOverride\": {\"value\": true},\r\n \"EnableRateOverride\": {\"value\": true},\r\n \"CurrencyRateType\": {\"value\": \"SPOT\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer", - "host": [ - "{{EndpointURL}}Customer" - ] - }, - "description": "This example shows how to enable the currency overriding and the rate overriding for a customer. This process is described in [Enable the Currency Overriding and the Rate Overriding for a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=34a79e12-3f6d-45a6-936b-654d806af487)." - }, - "response": [] - }, - { - "name": "Retrieve the Shipping Contact of a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One customers is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).has.lengthOf(1);\r", - "});\r", - "pm.test(\"The shipping contact of the ABAKERY customer is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].CustomerID.value).to.eql('ABAKERY');\r", - " pm.expect(jsonResponse[0].ShippingContact).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Assign a Tax Zone to a Customer\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Customer?$expand=ShippingContact&$filter=CustomerID eq 'ABAKERY'", - "host": [ - "{{EndpointURL}}Customer" - ], - "query": [ - { - "key": "$expand", - "value": "ShippingContact" - }, - { - "key": "$filter", - "value": "CustomerID eq 'ABAKERY'" - } - ] - }, - "description": "This example shows the retrieval of the shipping contact of a customer, which is described in [Retrieve the Shipping Contact of a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a4876ea2-da7f-460f-bb7a-d57a6da4bbb7)." - }, - "response": [] - }, - { - "name": "Assign a Tax Zone to a Customer", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Customer ID is FRUITICO\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CustomerID.value).to.eql('FRUITICO');\r", - "});\r", - "pm.test(\"Tax zone is NYSTATE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxZone.value).to.eql('NYSTATE');\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Lead\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"TaxZone\": {\"value\": \"NYSTATE\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Customer?$select=CustomerID,TaxZone", - "host": [ - "{{EndpointURL}}Customer" - ], - "query": [ - { - "key": "$select", - "value": "CustomerID,TaxZone" - } - ] - }, - "description": "This example shows the update of a customer in Acumatica ERP, which is described in [Update a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=87dd5c39-0a0b-4086-8aa5-791657073bbd)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e3e19ea8-4b3e-40e6-954b-1d51e1426062) entity." - }, - { - "name": "DeductionBenefitCode", - "item": [ - { - "name": "Create a Deduction Code", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The deduction code is TST\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.DeductionBenefitCodeID.value).to.be.eql('TST');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"DeductionBenefitCodeID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test deduction\"\r\n },\r\n \"ContributionType\": {\r\n \"value\": \"DED\"\r\n },\r\n \"Active\": {\r\n \"value\": false\r\n },\r\n \"AssociatedWith\": {\r\n \"value\": \"Employee Settings\"\r\n },\r\n \"EmployeeDeduction\": {\r\n \"CalculationMethod\": {\r\n \"value\": \"GRS\"\r\n },\r\n \"Percent\": {\r\n \"value\": 20\r\n },\r\n \"ApplicableEarnings\": {\r\n \"value\": \"TOT\"\r\n }\r\n },\r\n \"GLAccounts\": {\r\n \"DeductionLiabilityAccount\": {\r\n \"value\": \"20000\"\r\n },\r\n \"DeductionLiabilitySub\": {\r\n \"value\": \"000000\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}DeductionBenefitCode", - "host": [ - "{{EndpointURL}}DeductionBenefitCode" - ] - }, - "description": "This example shows how to create a deduction code in Acumatica ERP. This process is described in [Create a Deduction Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a459adbc-562f-421e-8d41-1445e9942452)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [DeductionBenefitCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4fba7b94-1844-43ae-a257-ac10ee1cfaf4) entity." - }, - { - "name": "EarningTypeCode", - "item": [ - { - "name": "Create an Earning Type Code", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The earning type code is TST\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EarningTypeCodeID.value).to.be.eql('TST');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EarningTypeCodeID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Code\"\r\n },\r\n \"Category\": {\r\n \"value\": \"Wage\"\r\n },\r\n \"AccrueTimeOff\": {\r\n \"value\": true\r\n },\r\n \"Active\": {\r\n \"value\": false\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EarningTypeCode", - "host": [ - "{{EndpointURL}}EarningTypeCode" - ] - }, - "description": "This example shows how to create an earning type code in Acumatica ERP. This process is described in [Create an Earning Type Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0c0678c5-7b1e-4dcf-b1fd-64823e5ac96d)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [EarningTypeCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3638c1cf-1210-46f0-b488-7a9b2afdb4a9) entity." - }, - { - "name": "Employee", - "item": [ - { - "name": "Create an Employee", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Employee is Jane Doe\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmployeeName.value).to.be.eql('Jane Doe');\r", - "});\r", - "pm.test(\"Employee is active\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Active');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Information about an Employee\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Status\": {\"value\": \"Active\"},\r\n \"FinancialSettings\":\r\n {\r\n \"APAccount\": {\"value\": \"20000\"},\r\n \"APSubaccount\": {\"value\": \"000000\"},\r\n \"CashAccount\": {\"value\": \"10200WH\"},\r\n \"ExpenseAccount\": {\"value\": \"63000\"},\r\n \"ExpenseSubaccount\": {\"value\": \"000000\"},\r\n \"PaymentMethod\": {\"value\": \"CHECK\"},\r\n \"PrepaymentAccount\": {\"value\": \"20000\"},\r\n \"PrepaymentSubaccount\": {\"value\": \"000000\"},\r\n \"SalesAccount\": {\"value\": \"40000\"},\r\n \"SalesSubaccount\": {\"value\": \"000000\"},\r\n \"TaxZone\": {},\r\n \"Terms\": {\"value\": \"7D\"}\r\n },\r\n \"EmployeeSettings\":\r\n {\r\n \"BranchID\": {\"value\": \"HEADOFFICE\"},\r\n \"Calendar\": {\"value\": \"MAIN\"},\r\n \"CurrencyID\": {\"value\": \"USD\"},\r\n \"CurrencyRateTypeID\": {\"value\": \"SPOT\"},\r\n \"DepartmentID\": {\"value\": \"AFTERSALES\"},\r\n \"EmployeeClass\": {\"value\": \"EMPHOURLY\"}\r\n },\r\n \"ContactInfo\":\r\n {\r\n \"FirstName\": {\"value\": \"Jane\"},\r\n \"LastName\": {\"value\": \"Doe\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Employee", - "host": [ - "{{EndpointURL}}Employee" - ] - }, - "description": "This example shows the creation of an employee, which is described in [Create an Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f04ea88a-8edf-471b-a7d5-6effb76a5cb6)." - }, - "response": [] - }, - { - "name": "Retrieve Information about an Employee", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One employee is retrieved\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).has.lengthOf(1);\r", - " });\r", - "pm.test(\"Employee is Pam Brawner\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].EmployeeName.value).to.be.eql('Pam Brawner');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Inventory Issue\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Employee?$expand=ContactInfo,Delegates,EmployeeSettings,EmploymentHistory,FinancialSettings&$filter=EmployeeID eq 'EP00000001'", - "host": [ - "{{EndpointURL}}Employee" - ], - "query": [ - { - "key": "$expand", - "value": "ContactInfo,Delegates,EmployeeSettings,EmploymentHistory,FinancialSettings" - }, - { - "key": "$filter", - "value": "EmployeeID eq 'EP00000001'" - } - ] - }, - "description": "This example shows the retrieval of an employee, which is described in [Retrieve Information about an Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=24c23ce4-e0cf-4737-aa18-8286b562b81a)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8745ada9-27bf-4d22-a6e9-aed11c5ca424) entity." - }, - { - "name": "EmployeePayrollClass", - "item": [ - { - "name": "Create an Employee Payroll Class", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Requests to configure taxes\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'WorkLocation';\r", - " var requestPutWorkLocation = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"WorkLocationID\": { \"value\": \"BELLEVUE\"},\"Active\": {\"value\": true}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutWorkLocation, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for updating work location should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The employee payroll class is TESTCLASS\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmployeePayrollClassID.value).to.be.eql('TESTCLASS');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EmployeePayrollClassID\": {\r\n \"value\": \"TESTCLASS\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test CLASS\"\r\n },\r\n \"PayrollDefaults\": {\r\n \"EmployeeType\": {\r\n \"value\": \"Hourly\"\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"WEEKLY\"\r\n },\r\n \"DefaultCalendar\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"WorkingWeeksPerYear\": {\r\n \"value\": 51\r\n },\r\n \"OverrideHoursPerYearforCertProject\": {\r\n \"value\": true\r\n },\r\n \"CertifiedProjectHoursperYear\": {\r\n \"value\": 2050\r\n },\r\n \"ExemptFromOvertimeRules\": {\r\n \"value\": true\r\n },\r\n \"NetPayMinimum\": {\r\n \"value\": 150\r\n },\r\n \"MaximumPercentofNetPayforallGarnishments\": {\r\n \"value\": 45\r\n },\r\n \"DefaultWCCCode\": {\r\n \"value\": \"5606\"\r\n },\r\n \"DefaultUnion\": {\r\n \"value\": \"NYS\"\r\n },\r\n \"ExemptFromCertifiedReporting\": {\r\n \"value\": false\r\n },\r\n \"WorkLocations\": [\r\n {\r\n \"LocationID\": {\r\n \"value\": \"BELLEVUE\"\r\n },\r\n \"DefaultWorkLocation\": {\r\n \"value\": true\r\n }\r\n }\r\n ]\r\n },\r\n \"PTODefaults\": [\r\n {\r\n \"PTOBank\": {\r\n \"value\": \"PTO\"\r\n },\r\n \"EffectiveDate\": {\r\n \"value\": \"01/01/2016\"\r\n },\r\n \"Active\": {\r\n \"value\": \"true\"\r\n },\r\n \"AccrualPercent\": {\r\n \"value\": \"7\"\r\n },\r\n \"AccrualLimit\": {\r\n \"value\": \"150\"\r\n },\r\n \"CarryoverType\": {\r\n \"value\": \"Partial\"\r\n },\r\n \"CarryoverAmount\": {\r\n \"value\": \"200\"\r\n },\r\n \"FrontLoadingAmount\": {\r\n \"value\": \"24\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmployeePayrollClass?$expand=PayrollDefaults/WorkLocations,PTODefaults", - "host": [ - "{{EndpointURL}}EmployeePayrollClass" - ], - "query": [ - { - "key": "$expand", - "value": "PayrollDefaults/WorkLocations,PTODefaults" - } - ] - }, - "description": "This example shows how to create an employee payroll class in Acumatica ERP. This process is described in [Create an Employee Payroll Class](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=93a0b773-b2c8-49f1-9860-609031c53575)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [EmployeePayrollClass](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=84476290-401a-4aec-a8eb-3ac771cbf196) entity." - }, - { - "name": "EmployeePayrollSettings", - "item": [ - { - "name": "Update the Employee Payroll Settings", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The employee is EP00000004\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", - "});\r", - "pm.test(\"The class ID is HOURLY\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ClassID.value).to.be.eql('HOURLY');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"ClassID\": {\r\n \"value\": \"HOURLY\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmployeePayrollSettings", - "host": [ - "{{EndpointURL}}EmployeePayrollSettings" - ] - }, - "description": "This example shows how to update the employee payroll settings in Acumatica ERP. This process is described in [Update the Employee Payroll Settings](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a1fb0dc3-24a3-4cf8-90af-eff672998715)." - }, - "response": [] - }, - { - "name": "Update the Work Locations (Employee Payroll Settings)", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Requests to configure taxes\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'WorkLocation';\r", - " var requestPutWorkLocation = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"WorkLocationID\": { \"value\": \"BELLEVUE\"},\"Active\": {\"value\": true}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutWorkLocation, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for updating work location should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The employee is EP00000004\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", - "});\r", - "pm.test(\"The work location is BELLEVUE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.WorkLocations.WorkLocationDetails[0].LocationID.value).to.be.eql('BELLEVUE');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"WorkLocations\": {\r\n \"WorkLocationClassDefaults\": {\r\n \"value\": false\r\n },\r\n \"WorkLocationDetails\": [\r\n {\r\n \"LocationID\": {\r\n \"value\": \"BELLEVUE\"\r\n },\r\n \"DefaultWorkLocation\": {\r\n \"value\": false\r\n }\r\n }\r\n ]\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmployeePayrollSettings?$expand=WorkLocations/WorkLocationDetails", - "host": [ - "{{EndpointURL}}EmployeePayrollSettings" - ], - "query": [ - { - "key": "$expand", - "value": "WorkLocations/WorkLocationDetails" - } - ] - }, - "description": "This example shows how to update work locations in employee payroll settings in Acumatica ERP. This process is described in [Employee Payroll Settings: Update Work Locations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=32141c4a-d36c-439d-92ce-b25258455786)." - }, - "response": [] - }, - { - "name": "Specify Employment Records", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The employee is EP00000004\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", - "});\r", - "pm.test(\"The position is ACCOUNTANT\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EmploymentRecords[0].Position.value).to.be.eql('ACCOUNTANT');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"EmploymentRecords\": [\r\n {\r\n \"StartDate\": {\r\n \"value\": \"2021-05-13\"\r\n },\r\n \"StartReason\": {\r\n \"value\": \"REH\"\r\n },\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"Position\": {\r\n \"value\": \"ACCOUNTANT\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}EmployeePayrollSettings?$expand=EmploymentRecords", - "host": [ - "{{EndpointURL}}EmployeePayrollSettings" - ], - "query": [ - { - "key": "$expand", - "value": "EmploymentRecords" - } - ] - }, - "description": "This example shows how to specify employment records in employee payroll settings in Acumatica ERP. This process is described in [Employee Payroll Settings: Specify Employment Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=34bc77c0-44c3-4097-bd23-a191685dbd28)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [EmployeePayrollSettings](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ff4a9e96-9969-4a48-b244-1f5f7f408e1a) entity." - }, - { - "name": "InventoryIssue", - "item": [ - { - "name": "Create an Inventory Issue", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Inventory issue contains one detail line\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", - " });\r", - "pm.test(\"Inventory issue total amount is 4.15\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TotalAmount.value).to.be.eql(4.15);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Release an Inventory Issue\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Date\": {\r\n \"value\": \"2025-12-02T00:00:00+03:00\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Descr\"\r\n },\r\n \"Details\": [\r\n {\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"ExtCost\": {\r\n \"value\": 0\r\n },\r\n \"ExtPrice\": {\r\n \"value\": 4.15\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"APJAM08\"\r\n },\r\n \"LineNumber\": {\r\n \"value\": 1\r\n },\r\n \"Location\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"Project\": {\r\n \"value\": \"X\"\r\n },\r\n \"Qty\": {\r\n \"value\": 1\r\n },\r\n \"TranType\": {\r\n \"value\": \"Issue\"\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 0\r\n },\r\n \"UOM\": {\r\n \"value\": \"PIECE\"\r\n },\r\n \"Warehouse\": {\r\n \"value\": \"RETAIL\"\r\n }\r\n }\r\n ],\r\n \"PostPeriod\": {\r\n \"value\": \"122025\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}InventoryIssue?$expand=Details", - "host": [ - "{{EndpointURL}}InventoryIssue" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create an inventory issue in Acumatica ERP. This process is described in [Create an Inventory Issue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3caa1091-6324-4b0d-ba5c-56b7ac480665)." - }, - "response": [] - }, - { - "name": "Release an Inventory Issue", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'InventoryIssue/000055?$select=Status';\r", - " var request000055 = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(request000055, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for 000055 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Inventory issue should be released\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Released');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " }\r", - "}\r", - "pm.execution.setNextRequest(\"Retrieve the Available Quantity of an Inventory Item\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": {\r\n \"ReferenceNbr\": {\r\n \"value\": \"000055\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}InventoryIssue/ReleaseInventoryIssue", - "host": [ - "{{EndpointURL}}InventoryIssue" - ], - "path": [ - "ReleaseInventoryIssue" - ] - }, - "description": "This example shows how to release an inventory issue in Acumatica ERP. This process is described in [Release an Inventory Issue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9446583c-62d6-4760-a382-fb5f36aac52b)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [InventoryIssue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7a52c24d-f289-442b-919d-89652c581685) entity." - }, - { - "name": "InventoryQuantityAvailable", - "item": [ - { - "name": "Retrieve the Available Quantity of an Inventory Item", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Results).to.has.lengthOf(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Get an Inventory Summary\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\": {\r\n \"value\": \"APJAM08\"\r\n },\r\n \"LastModifiedDateTime\": {\r\n \"value\": \"6/7/2024\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}InventoryQuantityAvailable?$expand=Results", - "host": [ - "{{EndpointURL}}InventoryQuantityAvailable" - ], - "query": [ - { - "key": "$expand", - "value": "Results" - } - ] - }, - "description": "This example shows how to retrieve the available quantity of an inventory item from Acumatica ERP. This process is described in [Retrieve the Available Quantity of an Inventory Item](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3cb31af0-05a3-4d3c-8fda-bfffd65d61a2)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [InventoryQuantityAvailable](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5ad3515b-f975-4846-9599-a8d418bda1c7) entity." - }, - { - "name": "InventorySummaryInquiry", - "item": [ - { - "name": "Get an Inventory Summary", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Results).to.have.lengthOf(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Invoice with Tax Parameters Overridden\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\": { \"value\": \"SIMCARD\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}InventorySummaryInquiry?$expand=Results", - "host": [ - "{{EndpointURL}}InventorySummaryInquiry" - ], - "query": [ - { - "key": "$expand", - "value": "Results" - } - ] - }, - "description": "This example shows the retrieval of the summary information of an inventory item, which is described in [Get an Inventory Summary](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f4e509c6-34cf-4c22-a149-34a25b5a2e30)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [InventorySummaryInquiry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=41906c8c-d0b2-4c44-9495-58d15dbf10ae) entity." - }, - { - "name": "Invoice", - "item": [ - { - "name": "Create an Invoice with Tax Parameters Overridden", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "//Requests to configure taxes\r", - "var callback = (pm, error, response) => {\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'Tax/PST';\r", - " var requestGetTax = {\r", - " url: url1,\r", - " method: 'GET',\r", - " };\r", - "\r", - " pm.sendRequest(requestGetTax, (error, response) => {\r", - " if(response.code != 200) {\r", - "\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Tax';\r", - " var requestAddTax = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxID\": { \"value\": \"PST\"},\"Description\": {\"value\": \"Tax ID for testing\"},\"TaxType\": {\"value\": \"VAT\"},\"IncludeInVATTaxableTotal\": {\"value\": true},\"ExcludeFromTaxonTaxCalculation\": {\"value\": true},\"TaxAgency\": {\"value\": \"CANADABC\"},\"TaxSchedule\": [{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Input Tax (purchases)\"}},{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Output Tax (sales)\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTax, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var url3 = pm.collectionVariables.get('EndpointURL') + 'TaxCategory';\r", - " var requestAddTaxCategory = {\r", - " url: url3,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxCategoryID\": { \"value\": \"TEST\"},\"Description\": {\"value\": \"Tax category for test\"},\"Details\": [{\"TaxID\": {\"value\": \"CAGST\"}},{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTaxCategory, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax category should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var url4 = pm.collectionVariables.get('EndpointURL') + 'TaxZone';\r", - " var requestAddTaxZone = {\r", - " url: url4,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"TaxZoneID\": { \"value\": \"CANADABC\"},\"ApplicableTaxes\": [{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddTaxZone, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding tax zone should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " }); \r", - " });\r", - " });\r", - " });\r", - " }\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Tax amount for both details is 150\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails[0].TaxAmount.value).to.eql(150);\r", - " pm.expect(jsonResponse.TaxDetails[1].TaxAmount.value).to.eql(150);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Invoices\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CreatedDateTime\": {\r\n \"value\": \"1900-01-01T03:00:00+03:00\"\r\n },\r\n \"Customer\": {\r\n \"value\": \"AACUSTOMER\"\r\n },\r\n \"Date\": {\r\n \"value\": \"2022-01-23T00:00:00+03:00\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Invoice with Taxes\"\r\n },\r\n \"Details\": [\r\n {\r\n \"Account\": {\r\n \"value\": \"40000\"\r\n },\r\n \"Amount\": {\r\n \"value\": 1000\r\n },\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"ExtendedPrice\": {\r\n \"value\": 1000\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"CONSULTING\"\r\n },\r\n \"LineNbr\": {\r\n \"value\": 1\r\n },\r\n \"ProjectTask\": {},\r\n \"Qty\": {\r\n \"value\": 10\r\n },\r\n \"TransactionDescription\": {\r\n \"value\": \"Project Consulting\"\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 100\r\n },\r\n \"UOM\": {\r\n \"value\": \"HOUR\"\r\n }\r\n }\r\n ],\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"IsTaxValid\": {\r\n \"value\": true\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"012022\"\r\n },\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": {\r\n \"value\": \"CAGST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"ExpenseAmount\": {\r\n \"value\": 0.0\r\n }\r\n },\r\n {\r\n \"TaxID\": {\r\n \"value\": \"PST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n }\r\n }\r\n ],\r\n \"Type\": {\r\n \"value\": \"Invoice\"\r\n },\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"CANADABC\"\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Invoice?$expand=Details,TaxDetails", - "host": [ - "{{EndpointURL}}Invoice" - ], - "query": [ - { - "key": "$expand", - "value": "Details,TaxDetails" - } - ] - }, - "description": "This example shows how to create an invoice for which system taxes are overridden. This process is described in [Create an Invoice with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=606da1ba-0c1d-4d52-b15f-7a41ef0e2171)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Invoices", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"More than one invoice is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).length.to.be.greaterThan(1);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Release an AR Invoice\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Invoice", - "host": [ - "{{EndpointURL}}Invoice" - ] - }, - "description": "This example shows the retrieval of invoices, which is described in [Retrieve the List of Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8e0137c4-9828-4d02-91b4-b4599d2d61c8)." - }, - "response": [] - }, - { - "name": "Release an AR Invoice", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Request to create invoice\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Invoice';\r", - " var requestAddInvoice = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"Customer\": { \"value\": \"ABAKERY\"},\"Hold\": {\"value\": false}, \"Details\": [{\"InventoryID\": {\"value\":\"CONSULT\"}, \"ExtPrice\": {\"value\": 10}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddInvoice, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for creating invoice should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('invoiceEntityID', jsonResponse.id);\r", - " });\r", - "\r", - "\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " { \r", - " var url = pm.collectionVariables.get('EndpointURL') + \"Invoice/\" + pm.collectionVariables.get('invoiceEntityID');\r", - " var requestInvoice = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestInvoice, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the invoice should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Status is Closed\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Closed');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Specify the Tax Zone for an Invoice\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"id\": \"{{invoiceEntityID}}\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Invoice/ReleaseInvoice", - "host": [ - "{{EndpointURL}}Invoice" - ], - "path": [ - "ReleaseInvoice" - ] - }, - "description": "This example shows how to release an AR invoice, which is described in [Release an AR Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=532d3d10-00d3-479e-81a5-f11698357f7c)." - }, - "response": [] - }, - { - "name": "Specify the Tax Zone for an Invoice", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Reference number is 000097\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ReferenceNbr.value).to.be.eql('000097');\r", - "});\r", - "pm.test(\"Tax zone is AVALARA\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.custom.CurrentDocument.TaxZoneID.value).to.be.eql('AVALARA');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Override Values in the Item Warehouse Details\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"8deb6bf9-2072-eb11-b83e-00155d408001\",\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"value\": \"AVALARA\"\r\n },\r\n \"DontPrint\": {\r\n \"value\": false\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Invoice?$custom=CurrentDocument.TaxZoneID,CurrentDocument.DontPrint", - "host": [ - "{{EndpointURL}}Invoice" - ], - "query": [ - { - "key": "$custom", - "value": "CurrentDocument.TaxZoneID,CurrentDocument.DontPrint" - } - ] - }, - "description": "This example shows how to specify the tax zone for an invoice, which is described in [Specify the Tax Zone for an Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9b07e681-16ea-4b08-8145-7daee04ef10b)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=38bf9b1a-8424-46f3-b30c-164502a8ffd9) entity." - }, - { - "name": "ItemWarehouse", - "item": [ - { - "name": "Override Values in the Item Warehouse Details", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Inventory ID is 000097\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.InventoryID.value).to.be.eql('APPLES');\r", - "});\r", - "pm.test(\"MaxQty is 2222\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.MaxQty.value).to.be.eql(2222);\r", - "});\r", - "pm.test(\"ServiceLevel is not 87\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ServiceLevel.value).to.be.not.eql(87);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction\");\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"OverrideMaxQty\": { \"value\": true },\r\n \"MaxQty\": { \"value\": 2222 },\r\n \"OverridePrice\": { \"value\": false },\r\n \"MSRP\": { \"value\": 600 },\r\n \"OverrideReorderPoint\": { \"value\": true },\r\n \"ReorderPoint\": { \"value\": 14 },\r\n \"ReplenishmentClass\": { \"value\": \"PURCHASE\" },\r\n \"OverrideReplenishmentSettings\": { \"value\": false },\r\n \"ReplenishmentMethod\": { \"value\": \"Min./Max.\" },\r\n \"ReplenishmentSource\": { \"value\": \"Purchase\" },\r\n \"Seasonality\": { \"value\": \"NONE\" },\r\n \"OverrideSafetyStock\": { \"value\": true },\r\n \"SafetyStock\": { \"value\": 244 },\r\n \"PreferredLocation\": { \"value\": \"MAIN\" },\r\n \"PreferredVendor\": { \"value\": \"ALLFRUITS\" },\r\n \"ServiceLevel\": { \"value\": 87 },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}ItemWarehouse", - "host": [ - "{{EndpointURL}}ItemWarehouse" - ] - }, - "description": "This example shows how to specify item warehouse details, mark particular fields as overridden, and set new values of these fields. This process is described in [Override Values in the Item Warehouse Details](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0c8c324e-bc48-4390-a0dc-806cb830a537)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ItemWarehouse](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=485c4f6c-2da8-4e5c-81ec-eff76709ad3a) entity." - }, - { - "name": "JournalTransaction", - "item": [ - { - "name": "Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Transaction has IsNonPM set to true\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].IsNonPM.value).to.be.eql(true);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Ledgers\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Module\" : {\"value\" : \"GL\"},\r\n \"TransactionDate\" : {\"value\" : \"2025-02-15T00:00:00\"},\r\n \"Description\" : {\"value\" : \"Transaction description\"},\r\n \"BranchID\" : {\"value\" : \"HEADOFFICE\"},\r\n \"Details\" : [\r\n \t{\r\n \t\t\"BranchID\" : {\"value\" : \"HEADOFFICE\"},\r\n \t\t\"Account\" : {\"value\" : \"10200\"},\r\n \t\t\"CostCode\" : {\"value\" : \"00000\"},\r\n \t\t\"IsNonPM\" : {\"value\" : true}\r\n \t}\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}JournalTransaction?$expand=Details", - "host": [ - "{{EndpointURL}}JournalTransaction" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create GL transactions with project codes that do not produce project transactions. This process is described in [Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=682496e3-6498-4855-b33d-a40dbf501b82)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [JournalTransaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8a4db230-e31f-411b-b84e-661caf1f0315) entity." - }, - { - "name": "Lead", - "item": [ - { - "name": "Create a Lead", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Email is brent.edds.test27@avantehs.com\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Email.value).to.eql('brent.edds.test27@avantehs.com');\r", - " pm.collectionVariables.set('leadEntityID', jsonResponse.id);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Lead\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"FirstName\": {\"value\": \"Brent\"},\r\n \"LastName\": {\"value\": \"Edds\"},\r\n \"Email\": {\"value\": \"brent.edds.test27@avantehs.com\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Lead", - "host": [ - "{{EndpointURL}}Lead" - ] - }, - "description": "This example shows the creation of a lead, which is described in [Create a Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0a505774-5a07-4d95-8d80-6945b8d94a13)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2eb731db-7a6b-4667-a80d-de1fd9906b3b) entity." - }, - { - "name": "Ledger", - "item": [ - { - "name": "Retrieve the List of Ledgers", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Three ledgers are returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(5);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Sales Order from an Opportunity\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Ledger?$expand=Branches,Companies&$select=LedgerID,Branches/BranchID,Branches/BranchName,Branches/CompanyName,Companies/Company,Companies/CompanyName", - "host": [ - "{{EndpointURL}}Ledger" - ], - "query": [ - { - "key": "$expand", - "value": "Branches,Companies" - }, - { - "key": "$select", - "value": "LedgerID,Branches/BranchID,Branches/BranchName,Branches/CompanyName,Companies/Company,Companies/CompanyName" - } - ] - }, - "description": "This example shows how to retrieve available ledgers, companies, and branches. This process is described in [Retrieve the List of Ledgers](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33888e9b-c23c-4c05-a87a-231dcf211f59)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Ledger](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ecb27adb-53da-42c9-ab22-e6ffa614a64b) entity." - }, - { - "name": "Opportunity", - "item": [ - { - "name": "Create a Sales Order from an Opportunity", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Opportunity/000011?$expand=Relations';\r", - " var request000009 = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(request000009, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for 000009 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Opportunity relations include sales order\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Relations[1].Type.value).to.be.eql('Sales Order');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " }\r", - "}\r", - "pm.execution.setNextRequest(\"Create a Business Account from an Opportunity\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"OpportunityID\": {\"value\":\"000011\"}\r\n },\r\n \"parameters\":{\r\n \"OrdereType\": {\"value\":\"SO\"},\r\n \"RecalculatePricesAndDiscounts\": {\"value\":\"false\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Opportunity/CreateOpportunitySalesOrder", - "host": [ - "{{EndpointURL}}Opportunity" - ], - "path": [ - "CreateOpportunitySalesOrder" - ] - }, - "description": "This example shows the creation of a sales order from an opportunity, which is described in [Create a Sales Order from an Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8954f3cf-bc54-4c27-b04b-713530ad1089)." - }, - "response": [] - }, - { - "name": "Create a Business Account from an Opportunity", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Opportunity/000002?$expand=Relations';\r", - " var request000002 = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(request000002, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for 000002 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Opportunity relations include business account\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Relations[0].Type.value).to.be.eql('Business Account');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " }\r", - "}\r", - "pm.execution.setNextRequest(\"Create a Payment Without an Invoice or a Sales Order\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": { \"OpportunityID\": {\"value\":\"000002\"},\r\n \"custom\": {\r\n \"AccountInfo\": {\r\n \"BAccountID\": { \"value\": \"11111\" },\r\n \"AccountName\": { \"value\": \"asdqwe\" }\r\n },\r\n \"ContactInfo\": {\r\n \"LastName\": { \"value\": \"test\" }\r\n }\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Opportunity/CreateAccountFromOpportunity", - "host": [ - "{{EndpointURL}}Opportunity" - ], - "path": [ - "CreateAccountFromOpportunity" - ] - }, - "description": "This example shows the creation of a business account from an opportunity, which is described in [Create a Business Account from an Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f14b98ae-4557-4308-8a23-8f72fb6eadbb)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7a071ddc-e212-407a-9978-24bc65ba2068) entity." - }, - { - "name": "PayGroup", - "item": [ - { - "name": "Create a Pay Group", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The pay group is NEWGROUP\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PayGroupID.value).to.be.eql('NEWGROUP');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"PayGroupID\": {\r\n \"value\": \"NewGroup\"\r\n },\r\n \"PayGroupName\": {\r\n \"value\": \"New Group Name\"\r\n },\r\n \"BenefitExpenseAccount\": {\r\n \"value\": \"69600\"\r\n },\r\n \"BenefitExpenseSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"BenefitLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"BenefitLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"DeductionLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"DeductionLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"EarningsAccount\": {\r\n \"value\": \"51000\"\r\n },\r\n \"EarningsSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxExpenseAccount\": {\r\n \"value\": \"65100\"\r\n },\r\n \"TaxExpenseSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"TaxLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"IsDefault\": {\r\n \"value\": false\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PayGroup", - "host": [ - "{{EndpointURL}}PayGroup" - ] - }, - "description": "This example shows how to create a pay group in Acumatica ERP. This process is described in [Create a Pay Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1ca369ae-12e2-47d8-8a57-9245efe649a8)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PayGroup](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=431cd4f5-884d-415d-ab63-7ec8adb23df9) entity." - }, - { - "name": "Payment", - "item": [ - { - "name": "Create a Payment Without an Invoice or a Sales Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Payment amount is correct\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " var amount = pm.collectionVariables.get(\"paymentAmount\");\r", - " pm.expect(jsonResponse.PaymentAmount.value).to.eql(Number(amount));\r", - " pm.collectionVariables.set(\"paymentRefNbr\", jsonResponse.ReferenceNbr.value);\r", - " pm.collectionVariables.set(\"appliedToDocuments\", jsonResponse.PaymentAmount.value);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Payment for an Invoice and a Sales Order\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CashAccount\": {\"value\": \"10250ST\"},\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Hold\": {\"value\": false},\r\n \"PaymentAmount\": {\"value\": {{paymentAmount}}},\r\n \"Type\": {\"value\": \"Payment\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Payment", - "host": [ - "{{EndpointURL}}Payment" - ] - }, - "description": "This example shows the creation of an AR payment for different document types, which is described in [Create an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b25e527e-8187-485e-9c8e-93aa5c2e8931)." - }, - "response": [] - }, - { - "name": "Create a Payment for an Invoice and a Sales Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Payment is applied to one document and one order\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrdersToApply).to.has.lengthOf(1);\r", - " pm.expect(jsonResponse.DocumentsToApply).to.has.lengthOf(1);\r", - " pm.collectionVariables.set(\"paymentRefNbr\", jsonResponse.ReferenceNbr.value);\r", - " pm.collectionVariables.set(\"appliedToDocuments\", jsonResponse.AppliedToDocuments.value);\r", - " pm.collectionVariables.set(\"appliedToOrders\", jsonResponse.AppliedToOrders.value);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Payment with a Credit Card Transaction Imported from Another System\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n },\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"CustomerID\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Creating Payment for different doc types\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"Type\": {\r\n \"value\": \"Payment\"\r\n },\r\n \"DocumentsToApply\": [\r\n {\r\n \"DocType\": {\r\n \"value\": \"INV\"\r\n },\r\n \"DocLineNbr\": {\r\n \"value\": \"1\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"000002\"\r\n }\r\n }\r\n ],\r\n \"OrdersToApply\": [\r\n {\r\n \"OrderType\": {\r\n \"value\": \"SO\"\r\n },\r\n \"OrderNbr\": {\r\n \"value\": \"000036\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Payment?$expand=OrdersToApply,DocumentsToApply", - "host": [ - "{{EndpointURL}}Payment" - ], - "query": [ - { - "key": "$expand", - "value": "OrdersToApply,DocumentsToApply" - } - ] - }, - "description": "This example shows the creation of an AR payment for different document types, which is described in [Create an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b25e527e-8187-485e-9c8e-93aa5c2e8931)." - }, - "response": [] - }, - { - "name": "Create a Payment with a Credit Card Transaction Imported from Another System", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Payment is Pending Processing\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.eql('Pending Processing');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Release a Payment\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\r\n \"value\": \"HMBAKERY\"\r\n },\r\n \"PaymentAmount\": {\r\n \"value\": 123.0000\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"VISA\"\r\n },\r\n \"CreditCardTransactionInfo\": [\r\n {\r\n \"TranNbr\": {\r\n \"value\": \"112224543839510314532923\"\r\n },\r\n \"TranType\": {\r\n \"value\": \"Authorize Only\"\r\n },\r\n \"NeedsValidation\": {\r\n \"value\": true\r\n },\r\n \"AuthNbr\": {\r\n \"value\": \"ebd4c8\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Payment", - "host": [ - "{{EndpointURL}}Payment" - ] - }, - "description": "This example shows the creation of an AR payment that includes a credit card transaction imported from another system. This example is described in [Create a Payment with a Credit Card Transaction Imported from Another System](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5c4e9c95-bb85-4bba-80ee-75f4d8dfe777)." - }, - "response": [] - }, - { - "name": "Release a Payment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Data for sign-in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Request to remove hold\r", - "var callback = (pm, error, response) => {\r", - " var paymentRefNbr = pm.collectionVariables.get('paymentRefNbr');\r", - " var paymentAmount = pm.collectionVariables.get('appliedToDocuments')+pm.collectionVariables.get('appliedToOrders');\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Payment';\r", - " var requestRemoveHold = {\r", - " url: url,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"Type\": {\"value\": \"Payment\"},\"ReferenceNbr\": {\"value\": \"'+ paymentRefNbr +'\"},\"Hold\" : {\"value\" : \"false\"},\"PaymentAmount\": {\"value\": ' + paymentAmount + '}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestRemoveHold, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for removing from hold should be OK to proceed', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - "}\r", - "//Sign in and remove hold\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Payment/Payment/' + pm.collectionVariables.get('paymentRefNbr');\r", - " var requestPayment = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestPayment, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the payment should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Payment status is Open\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Open');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Retrieve Payments One by One\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\": {\r\n \"Type\": {\r\n \"value\": \"Payment\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"{{paymentRefNbr}}\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Payment/Release", - "host": [ - "{{EndpointURL}}Payment" - ], - "path": [ - "Release" - ] - }, - "description": "This example shows how to release an accounts receivable payment in Acumatica ERP. This process is described in [Release an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=709b0321-c44a-4226-a627-3507a93ce1d8).\n\nThis request requires the value of paymentRefNbr, appliedToDocuments, and appliedToOrders collection variables. You can set them manually or by executing the Create an Accouts Receivable Payment for an Invoice and a Sales Order request." - }, - "response": [] - }, - { - "name": "Retrieve Payments One by One", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Payment is 000001\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ReferenceNbr.value).to.eql('000001');\r", - "});\r", - "pm.test(\"Document type is Payment\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Type.value).to.eql('Payment');\r", - "});\r", - "pm.test(\"Payment is applied to invoice\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ApplicationHistory[0].DisplayDocType.value).to.eql('Invoice');\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Payment Method\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Payment/Payment/000001?$select=ReferenceNbr,Type,Status,ApplicationDate,ApplicationHistory/DisplayDocType,ApplicationHistory/DisplayRefNbr&$expand=ApplicationHistory", - "host": [ - "{{EndpointURL}}Payment" - ], - "path": [ - "Payment", - "000001" - ], - "query": [ - { - "key": "$select", - "value": "ReferenceNbr,Type,Status,ApplicationDate,ApplicationHistory/DisplayDocType,ApplicationHistory/DisplayRefNbr" - }, - { - "key": "$expand", - "value": "ApplicationHistory" - } - ] - }, - "description": "This example shows the retrieval of a payment, which is described in [Retrieve Payments One by One](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=02e2a96b-d432-463c-9131-303065dbfa4e)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1e75e399-acaa-4490-aa99-7005906d4ff2) entity." - }, - { - "name": "PaymentMethod", - "item": [ - { - "name": "Create a Payment Method", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"TST payment method has Cash/Check means of payment\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethodID.value).to.eql('TST');\r", - " pm.expect(jsonResponse.MeansOfPayment.value).to.eql('Cash/Check');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Project from a Project Template\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Active\": {\r\n \"value\": false\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Method\"\r\n },\r\n \"IntegratedProcessing\": {\r\n \"value\": false\r\n },\r\n \"MeansOfPayment\": {\r\n \"value\": \"Cash/Check\"\r\n },\r\n \"PaymentMethodID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"SettingsForPR\": {\r\n \"PRProcessing\": {\r\n \"value\": \"Print Checks\"\r\n },\r\n \"Report\": {\r\n \"value\": \"PR641010\"\r\n }\r\n },\r\n \"UseInPR\": {\r\n \"value\": true\r\n },\r\n \"UseInAP\": {\r\n \"value\": false\r\n },\r\n \"UseInAR\": {\r\n \"value\": false\r\n },\r\n \"RequireRemittanceInformationforCashAccount\": {\r\n \"value\": false\r\n },\r\n \"AllowedCashAccounts\": [\r\n {\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Company Checking Account\"\r\n },\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"APDefault\": {\r\n \"value\": false\r\n },\r\n \"APLastRefNbr\": {\r\n \"value\": \"3202\"\r\n },\r\n \"APSuggestNextNbr\": {\r\n \"value\": false\r\n },\r\n \"UseInPR\": {\r\n \"value\": true\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PaymentMethod?$expand=AllowedCashAccounts", - "host": [ - "{{EndpointURL}}PaymentMethod" - ], - "query": [ - { - "key": "$expand", - "value": "AllowedCashAccounts" - } - ] - }, - "description": "This example shows how to create a payment method in Acumatica ERP. This process is described in [Create a Payment Method](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=22e4e4f7-d3c6-4c81-8110-0d0120cb6a6c)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PaymentMethod](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=edc24a65-2e04-4af4-84ab-73ad4cfe1bce) entity." - }, - { - "name": "PayPeriod", - "item": [ - { - "name": "Create a Pay Period Schedule", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Number of periods is 53\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.NumberofPeriods.value).to.be.eql(53);\r", - "});\r", - "pm.test(\"Year is 2025\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Year.value).to.be.eql(\"2025\");\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"NumberOfPeriods\": {\r\n \"value\": 53\r\n },\r\n \"Override\": {\r\n \"value\": true\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"WEEKLY\"\r\n },\r\n \"Year\": {\r\n \"value\": \"2025\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PayPeriod", - "host": [ - "{{EndpointURL}}PayPeriod" - ] - }, - "description": "This example shows how to create a pay period schedule in Acumatica ERP. This process is described in [Create a Pay Period Schedule](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cee93670-b4be-4b21-a473-beeb180a20c9)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PayPeriod](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9d154c76-804d-48f3-8f33-965aff6dd544) entity." - }, - { - "name": "PayrollBatch", - "item": [ - { - "name": "Create a Payroll Batch", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Status is Balanced\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Balanced');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"PayrollType\": {\r\n \"value\": \"Regular\"\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"MONTHLY\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test New Batch\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"PayPeriod\": {\r\n \"value\": \"032024\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PayrollBatch", - "host": [ - "{{EndpointURL}}PayrollBatch" - ] - }, - "description": "This example shows how to create a payroll batch in Acumatica ERP. This process is described in [Create a Payroll Batch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5ef0cd45-418d-496b-8d03-7f2d2a67a52b)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PayrollBatch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2fcc83d9-fc0e-48c7-a79f-7d1f4557d9a0) entity." - }, - { - "name": "PayrollUnionLocal", - "item": [ - { - "name": "Create a Union", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Union is TST\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PayrollUnionLocalID.value).to.be.eql('TST');\r", - "});\r", - "pm.test(\"Vendor is ALLFRUITS\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Vendor.value).to.be.eql('ALLFRUITS');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "protocolProfileBehavior": { - "disabledSystemHeaders": { - "accept": true - } - }, - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Active\": { \"value\": false },\r\n \"Description\": { \"value\": \"Test Union\" },\r\n \"PayrollUnionLocalID\": { \"value\": \"TST\" },\r\n \"Vendor\": { \"value\": \"ALLFRUITS\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PayrollUnionLocal", - "host": [ - "{{EndpointURL}}PayrollUnionLocal" - ] - } - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PayrollUnionLocal](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fe563246-6d9e-4ac0-a852-54be3a30e4dc) entity." - }, - { - "name": "PayrollWCCCode", - "item": [ - { - "name": "Create a Workers' Compensation Class Code", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"WCC codes include 2222\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.WCCCodes[0].WCCCode.value).to.be.eql('2222');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Country\": {\r\n \"value\": \"US\"\r\n },\r\n \"WCCCodes\": [\r\n {\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Code\"\r\n },\r\n \"WCCCode\": {\r\n \"value\": \"2222\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PayrollWCCCode?$expand=WCCCodes", - "host": [ - "{{EndpointURL}}PayrollWCCCode" - ], - "query": [ - { - "key": "$expand", - "value": "WCCCodes" - } - ] - }, - "description": "This example shows how to create a workers' compensation class code in Acumatica ERP. This process is described in [Create a Workers' Compensation Class Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4c696993-711f-49a1-940a-08bb50bcb23e)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PayrollWCCCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1766e674-3a84-4167-ad23-e931d7f65967) entity." - }, - { - "name": "ProductionOrderDatesProcess", - "item": [ - { - "name": "Update Dates in Production Orders", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Start date is 2024-01-08\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Orders[0].StartDate.value).to.eql('2024-01-08T00:00:00+00:00');\r", - "});\r", - "pm.test(\"End date is 2026-01-30\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Orders[0].EndDate.value).to.eql('2026-01-30T00:00:00+00:00');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Orders\": [\r\n {\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{ManufacturingEndpointURL}}ProductionOrderDatesProcess?$expand=Orders,Orders/Operations", - "host": [ - "{{ManufacturingEndpointURL}}ProductionOrderDatesProcess" - ], - "query": [ - { - "key": "$expand", - "value": "Orders,Orders/Operations" - } - ] - }, - "description": "This example shows how to update dates in multiple production orders. This process is described in [Update Dates in Production Orders](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=80787b47-28fa-4ce7-b5d5-84a3f843eed7)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ProductionOrderDatesProcess](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=50627e8e-aa1c-4bb5-9ed5-85ed48bf1025) entity." - }, - { - "name": "ProductionOrderDetail", - "item": [ - { - "name": "Update Dates in a Production Order", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"SchedulingMethod is User Dates\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.SchedulingMethod.value).to.eql('User Dates');\r", - "});\r", - "pm.test(\"Start date is 2025-01-08\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.StartDate.value).to.eql('2025-01-08T00:00:00+00:00');\r", - "});\r", - "pm.test(\"End date is 2025-01-30\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.EndDate.value).to.eql('2025-01-30T00:00:00+00:00');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Update Dates in Production Orders');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{ManufacturingEndpointURL}}ProductionOrderDetail?$expand=Operations", - "host": [ - "{{ManufacturingEndpointURL}}ProductionOrderDetail" - ], - "query": [ - { - "key": "$expand", - "value": "Operations" - } - ] - }, - "description": "This example shows how to update dates in a production order and its operations. This process is described in [Update Dates in a Production Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e037f35f-eae8-4e9d-9e2a-7df314d96fcc)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ProductionOrderDetail](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=59c10b4c-44e0-4ba6-a53c-6875be9200db) entity." - }, - { - "name": "ProFormaInvoice", - "item": [ - { - "name": "Send a Pro Forma Invoice by Email", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " { \r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Create a Purchase Order\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\" : {\r\n \"RefNbr\": {\r\n \"value\": \"{{proFormaReferenceNbr}}\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}ProFormaInvoice/EmailProFormaInvoice", - "host": [ - "{{EndpointURL}}ProFormaInvoice" - ], - "path": [ - "EmailProFormaInvoice" - ] - }, - "description": "This example shows how to send a pro forma invoice by email. This process is described in [Send a Pro Forma Invoice by Email](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a6a0d09a-e695-4b25-a639-2cea565613f8).\n\nThis request requires the value of proFormaReferenceNbr collection variable. You can set it manually or by executing the Retrieve the List of Pro Forma Invoices of a Project request." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ProFormaInvoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7993b042-713d-4d4e-806c-5840aa2d7dea) entity." - }, - { - "name": "Project", - "item": [ - { - "name": "Create a Project from a Project Template", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Project has TESTPR3 ID\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ProjectID.value).to.eql('TESTPR3');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Make a Project Active\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"ProjectTemplateID\" : {\"value\" : \"PROGRESS\"},\r\n \"Customer\" : {\"value\" : \"COFFEESHOP\"},\r\n \"BillingAndAllocationSettings\" :\r\n {\r\n \"BillingRule\" : {\"value\" : \"PROGRESS\"},\r\n \"BillingPeriod\" : {\"value\" : \"Month\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Project", - "host": [ - "{{EndpointURL}}Project" - ] - }, - "description": "This example shows how to create from a project template. This process is described in [Create a Project from a Project Template](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=13f5f5b8-33d1-40d9-83db-3f3dfc5dcba9)." - }, - "response": [] - }, - { - "name": "Make a Project Active", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Project is active\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.eql('Active');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Specify the Next Billing Date for a Project\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"Hold\" : {\"value\" : false}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Project", - "host": [ - "{{EndpointURL}}Project" - ] - }, - "description": "This example shows how to make a project active. This process is described in [Make a Project Active](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0d018113-1e33-49f7-be22-8e40db5475c3)." - }, - "response": [] - }, - { - "name": "Specify the Next Billing Date for a Project", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Next billing date is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.BillingAndAllocationSettings.NextBillingDate.value).to.be.not.empty;\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve a Project Task\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"BillingAndAllocationSettings\" : \r\n {\r\n \"NextBillingDate\" : {\"value\" : \"2025-06-15\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Project?$expand=BillingAndAllocationSettings", - "host": [ - "{{EndpointURL}}Project" - ], - "query": [ - { - "key": "$expand", - "value": "BillingAndAllocationSettings" - } - ] - }, - "description": "This example shows how to specify the next billing date for a project. This process is described in [Specify the Next Billing Date for a Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9b596bda-520a-4baf-ab93-687a67f3879e)." - }, - "response": [] - }, - { - "name": "Invoke Project Billing", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " { \r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Retrieve the List of Pro Forma Invoices of a Project\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\" : {\r\n \"ProjectID\": {\r\n \"value\": \"TESTPR3\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Project/RunProjectBilling", - "host": [ - "{{EndpointURL}}Project" - ], - "path": [ - "RunProjectBilling" - ] - }, - "description": "This example shows the invocation of project billing. This process is described in [Invoke Project Billing](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=13f5f5b8-33d1-40d9-83db-3f3dfc5dcba9)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Pro Forma Invoices of a Project", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One pro forma invoice is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Invoices).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Invoice total is 725\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Invoices[0].InvoiceTotal.value).to.eql(725);\r", - " pm.collectionVariables.set('proFormaReferenceNbr', jsonResponse.Invoices[0].ProFormaReferenceNbr.value);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Send a Pro Forma Invoice by Email\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Project/TESTPR3?$expand=Invoices", - "host": [ - "{{EndpointURL}}Project" - ], - "path": [ - "TESTPR3" - ], - "query": [ - { - "key": "$expand", - "value": "Invoices" - } - ] - }, - "description": "This example shows how to retrieve the list of pro forma invoices of a project. This process is described in [Retrieve the List of Pro Forma Invoices of a Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b635dd5f-c787-49a2-a603-38a3371cbda5)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1d003380-9c62-4542-b01c-66db8bb09b71) entity." - }, - { - "name": "ProjectBudget", - "item": [ - { - "name": "Specify the Progress of a Project Task", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"PHASE1 project task is in planning\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Completed.value).to.eql(25);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Invoke Project Billing\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"ProjectTaskID\" : {\"value\" : \"PHASE1\"},\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"InventoryID\" : {\"value\" : \"\"},\r\n \"Completed\" : {\"value\" : 25},\r\n \"PendingInvoiceAmount\" : {\"value\" : 725}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}ProjectBudget", - "host": [ - "{{EndpointURL}}ProjectBudget" - ] - }, - "description": "This example shows how to specify the progress of a project task, which is described in [Specify the Progress of a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=06e096c8-c83d-4392-9a90-b83a9acfbc8e)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ProjectBudget](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8d596065-ab9a-49d7-b765-a02b30f8d9bd) entity." - }, - { - "name": "ProjectTask", - "item": [ - { - "name": "Retrieve a Project Task", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One project task is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"PHASE1 project task is in planning\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].ProjectTaskID.value).to.eql('PHASE1');\r", - " pm.expect(jsonResponse[0].Status.value).to.eql('In Planning');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Activate a Project Task\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}ProjectTask?$filter=ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'", - "host": [ - "{{EndpointURL}}ProjectTask" - ], - "query": [ - { - "key": "$filter", - "value": "ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'" - } - ] - }, - "description": "This example shows the retrieval of a project task, which is described in [Retrieve a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=aa71a74c-9b66-4514-a96d-8530964af759)." - }, - "response": [] - }, - { - "name": "Activate a Project Task", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "\r", - " var url = pm.collectionVariables.get('EndpointURL') + \"ProjectTask?$filter=ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'\";\r", - "var requestTask = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - "};\r", - "pm.sendRequest(requestTask, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for task retrieval should be OK to proceed', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Project task status is Active\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse[0].Status.value).to.be.eql('Active');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "});\r", - "pm.execution.setNextRequest(\"Specify the Progress of a Project Task\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":\r\n {\r\n \"ProjectID\": {\r\n \"value\": \"TESTPR3\"\r\n },\r\n \"ProjectTaskID\": {\r\n \"value\": \"PHASE1\"\r\n }\r\n },\r\n \"parameters\": {}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}ProjectTask/Activate", - "host": [ - "{{EndpointURL}}ProjectTask" - ], - "path": [ - "Activate" - ] - }, - "description": "This example shows how to activate a project task. This process is described in [Activate a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=78d0e5d4-47f3-4c84-bb0a-adcbe0199593)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ProjectTask](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=06221686-e569-47ce-982e-8cabdafd8a80) entity." - }, - { - "name": "PTOBank", - "item": [ - { - "name": "Create a PTO Bank", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Request to update earning type code\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'EarningTypeCode';\r", - " var requestPutCode = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"EarningTypeCodeID\": { \"value\": \"HL\"},\"EarningTypeCategory\": {\"value\": \"Time Off\"},\"RegularTimeTypeCode\": {\"value\": \"RG\"}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutCode, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for updating earning type code should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"PTO bank ID is TST\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PTOBankID.value).to.be.eql('TST');\r", - "});\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"PTOBankID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test PTO Bank\"\r\n },\r\n \"Active\": {\r\n \"value\": \"false\"\r\n },\r\n \"BankStartDate\": {\r\n \"value\": \"01/01/2019\"\r\n },\r\n \"DisbursingEarningCode\": {\r\n \"value\": \"HL\"\r\n },\r\n \"CreateFinTransactions\": {\r\n \"value\": \"true\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PTOBank", - "host": [ - "{{EndpointURL}}PTOBank" - ] - }, - "description": "This example shows how to create a paid time off (PTO) bank in Acumatica ERP. This process is described in [Create a PTO Bank](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3b1124b1-845c-4b5a-9359-030b67987ad8)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PTOBank](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=89510e7c-cc95-48d4-a6b2-79506a7b3c0d) entity." - }, - { - "name": "PurchaseOrder", - "item": [ - { - "name": "Create a Purchase Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Order total is 2.29\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(2.29);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Purchase Order with Tax Details Overridden\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"VendorID\": { \"value\": \"GOODFRUITS\" },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"Details\": [\r\n {\r\n \"BranchID\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"OrderQty\": { \"value\": 1 },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"UOM\": { \"value\": \"LB\" }\r\n }\r\n ],\r\n \"Hold\": { \"value\": false }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseOrder?$expand=Details", - "host": [ - "{{EndpointURL}}PurchaseOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a purchase order, which is described in [Create a Purchase Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=81e5ec25-09f7-421a-8f80-01b6b71d38c9)." - }, - "response": [] - }, - { - "name": "Create a Purchase Order with Tax Details Overridden", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"One tax detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Tax rate is 8.875\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails[0].TaxRate.value).to.eql(8.875);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Purchase Receipt from a Purchase Order\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"Details\": [\r\n {\r\n \"BranchID\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"LineType\": { \"value\": \"Goods for IN\" },\r\n \"OrderQty\": { \"value\": 20 },\r\n \"OrderType\": { \"value\": \"RO\" },\r\n \"TaxCategory\": { \"value\": \"TAXABLE\" },\r\n \"UnitCost\": { \"value\": 2.29 },\r\n \"UOM\": { \"value\": \"LB\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ],\r\n \"Hold\": { \"value\": true },\r\n \"IsTaxValid\": { \"value\": true },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"TaxDetails\": [\r\n {\r\n \"TaxableAmount\": { \"value\": 45.8 },\r\n \"TaxAmount\": { \"value\": 0 },\r\n \"TaxID\": { \"value\": \"NYSTATETAX\" },\r\n \"TaxRate\": { \"value\": 0 }\r\n }\r\n ],\r\n \"Terms\": { \"value\": \"30D\" },\r\n \"Type\": { \"value\": \"Normal\" },\r\n \"VendorID\": { \"value\": \"ALLFRUITS\" },\r\n \"VendorTaxZone\": { \"value\": \"NYZONE\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseOrder?$expand=Details,TaxDetails", - "host": [ - "{{EndpointURL}}PurchaseOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,TaxDetails" - } - ] - }, - "description": "This example shows how to create a purchase order for which system taxes are used. This process is described in [Create a Purchase Order with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2f21e62f-ccff-41ea-b6be-434fa46448a0)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PurchaseOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cbc0ce21-c2fe-4965-afed-622c4291b18f) entity." - }, - { - "name": "PurchaseReceipt", - "item": [ - { - "name": "Create a Purchase Receipt from a Purchase Order", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Total cost is 492.40\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TotalCost.value).to.eql(492.40);\r", - " pm.collectionVariables.set('purchaseReceiptID',jsonResponse.id);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Release a Purchase Receipt\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"VendorID\": { \"value\": \"PRINTICO\" },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"Details\": [\r\n {\r\n \"POOrderNbr\": { \"value\": \"000001\" },\r\n \"POOrderType\": { \"value\": \"Normal\" }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a purchase receipt, which is described in [Create a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a93b5926-d164-4a1b-97fe-a1c46af67ea6)." - }, - "response": [] - }, - { - "name": "Create a Purchase Receipt with Allocations (with Location)", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Two allocation lines in each detail are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(2);\r", - " pm.expect(jsonResponse.Details[1].Allocations).to.has.lengthOf(2);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Purchase Return from a Purchase Receipt Record\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with allocations\"},\r\n \"Details\": [\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"ReceiptQty\": {\"value\": \"2\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"SORT\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n }\r\n ]\r\n },\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM32\"},\r\n \"ReceiptQty\": {\"value\": \"2\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"SORT\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows the adding of lines with allocations (with the location) to a purchase receipt, which is described in [Insert Lines with Allocations (with Location) to a PO Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1998826c-ae50-47cc-8c10-0fb05ddc42f2)." - }, - "response": [] - }, - { - "name": "Create a Purchase Receipt with Allocations (with Expiration Date)", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Two allocation lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Expiration date is 2024-04-25\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Allocations[0].LotSerialNbr.value).to.eql('a');\r", - " pm.expect(jsonResponse.Details[0].Allocations[0].ExpirationDate.value).to.eql('2024-04-25T00:00:00+00:00');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with Expiration Date in Allocations\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"ORANGES\"},\r\n \"ReceiptQty\": {\"value\": 2},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"LotSerialNbr\": {\"value\": \"\"},\r\n \"ExpirationDate\": {\"value\": \"\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"a\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-25\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"b\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-27\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows the adding of lines with allocations (with the expiration date) to a purchase receipt, which is described in [Insert Lines with Allocations (with Expiration Date) to a PO Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=852c5c92-c763-4c0e-b3f5-be6663254611)." - }, - "response": [] - }, - { - "name": "Create a Purchase Return from a Purchase Receipt Record", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Total cost is 240.5\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TotalCost.value).to.eql(240.5);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Purchase Return from a Purchase Receipt\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return (one PR line)\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\"value\": \"000016\"},\r\n \"POReceiptLineNbr\": {\"value\": \"1\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a purchase return from a purchase receipt record, which is described in [Create a Purchase Return from a Purchase Receipt Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9a4a2d4c-6a81-4b92-a123-e1cfd509f832)." - }, - "response": [] - }, - { - "name": "Create a Purchase Return from a Purchase Receipt", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Total cost is 118.4\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TotalCost.value).to.eql(118.4);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Purchase Return for Particular Items\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return (all PR lines)\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\"value\": \"000013\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a purchase return from a purchase receipt, which is described in [Create a Purchase Return from a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ded2af68-35ad-4b44-b9ee-5371a8790341)." - }, - "response": [] - }, - { - "name": "Create a Purchase Return for Particular Items", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Total cost is 3\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TotalCost.value).to.eql(3);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Remove a Sales Invoice from Hold\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APPLES\"},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"ReceiptQty\": {\"value\": \"1\"},\r\n \"ExtendedCost\": {\"value\": \"3\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a purchase return for particular items, which is described in [Create a Purchase Return for Particular Items](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c96f5760-dd88-4003-87eb-1cb68470875d)." - }, - "response": [] - }, - { - "name": "Create a Purchase Receipt in Non-Base Currency", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "//Request to update vendor\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Vendor';\r", - " var requestPutVendor = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"VendorID\": { \"value\": \"GOODFRUITS\"},\"EnableCurrencyOverride\": {\"value\": true},\"EnableRateOverride\": {\"value\": true}, \"CurrencyRateType\": {\"value\": \"SPOT\"}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutVendor, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for creating invoice should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Currency is EUR\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.CurrencyID.value).to.eql(\"EUR\");\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"CurrencyID\": {\"value\": \"EUR\"},\r\n \"CurrencyRate\": {\"value\": \"1.2\"},\r\n \"Description\": {\"value\": \"Test receipt in non-base currency and with new cost fields\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APPLES\"},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"ReceiptQty\": {\"value\": 1.0},\r\n \"ExpirationDate\": {\"value\": \"2021-04-25\"},\r\n \"UnitCost\": {\"value\": \"111\"},\r\n \"ExtendedCost\": {\"value\": \"333\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ] - }, - "description": "This example shows how to create a purchase receipt in non-base currency. This process is described in [Create a Purchase Receipt in Non-Base Currency](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6177b57c-ed78-47c7-9994-d22dfe2d5507)." - }, - "response": [] - }, - { - "name": "Create a Transfer Receipt with Allocations for a Transfer Order", - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\r\n \"value\": \"Transfer Receipt\"\r\n },\r\n \"Warehouse\": {\r\n \"value\": \"RETAIL\"\r\n },\r\n \"Details\": [\r\n {\r\n \"TransferOrderType\": {\r\n \"value\": \"TR\"\r\n },\r\n \"TransferOrderNbr\": {\r\n \"value\": \"000069\"\r\n },\r\n \"TransferOrderLineNbr\": {\r\n \"value\": 1\r\n },\r\n \"TransferShipmentNbr\": {\r\n \"value\": \"000063\"\r\n },\r\n \"ReceiptQty\": {\r\n \"value\": 1\r\n },\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\r\n \"value\": \"JS1\"\r\n },\r\n \"Qty\": {\r\n \"value\": 0.5\r\n }\r\n },\r\n {\r\n \"Location\": {\r\n \"value\": \"JS2\"\r\n },\r\n \"Qty\": {\r\n \"value\": 0.5\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows how to create a transfer receipt with allocations for a transfer order. This process is described in [Create a Transfer Receipt with Allocations for a Transfer Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=24c68cc6-6985-4421-86c9-e29156f3c150)." - }, - "response": [] - }, - { - "name": "Release a Purchase Receipt", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'PurchaseReceipt/' + pm.collectionVariables.get('purchaseReceiptID');\r", - " var requestPurchaseReceipt = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestPurchaseReceipt, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the purchase receipt should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Purchase receipt status is Released\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Released');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Create a Purchase Receipt with Allocations (with Location)\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{ \"id\": \"{{purchaseReceiptID}}\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}PurchaseReceipt/ReleasePurchaseReceipt", - "host": [ - "{{EndpointURL}}PurchaseReceipt" - ], - "path": [ - "ReleasePurchaseReceipt" - ] - }, - "description": "This example shows how to release a purchase receipt, which is described in [Release a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f361b0f2-ef16-423b-83f5-1db4a31a5931).\n\nThis request requires the value of purchaseReceiptID collection variable. You can set it manually or by executing the Create a Purchase Receipt request." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [PurchaseReceipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=19972ae2-0d5d-45b6-8bec-fc0e2388a9ba) entity." - }, - { - "name": "SalesInvoice", - "item": [ - { - "name": "Remove a Sales Invoice from Hold", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The sales invoice has the Balanced status\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.equal(\"Balanced\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Invoke Release of an Invoice\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"ReferenceNbr\": {\"value\": \"INV000046\"},\r\n \"Hold\": {\"value\":false}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice", - "host": [ - "{{EndpointURL}}SalesInvoice" - ] - }, - "description": "This example shows how to release a sales invoice from hold. This process is described in [Release a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=059b3f37-ba97-4c37-8fdd-6e2e5c292b10)." - }, - "response": [] - }, - { - "name": "Invoke Release of an Invoice", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "pm.collectionVariables.set(\"SalesInvoiceStatusUrl\", pm.response.headers.get(\"Location\"));\r", - "//Do not sign out before the next request\r", - "pm.execution.setNextRequest(\"Retrieve the Status of the Release Operation\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"entity\":{\r\n\t\t\"Type\":{\"value\":\"Invoice\"},\r\n\t\t\"ReferenceNbr\":{\"value\":\"INV000046\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}/SalesInvoice/ReleaseSalesInvoice", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "SalesInvoice", - "ReleaseSalesInvoice" - ] - } - }, - "response": [] - }, - { - "name": "Retrieve the Status of the Release Operation", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "if(pm.response.code != 204)\r", - "{\r", - " setTimeout(function(){},10000);\r", - " pm.execution.setNextRequest(\"Retrieve the Status of the Release Operation\");\r", - "}\r", - "else\r", - "{\r", - " //Sign out and set next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " pm.execution.setNextRequest(\"Check the Status of the Sales Invoice\");\r", - "}" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//No need to sign in in this request because the sign-in has been done \r", - "//in Invoke Release of an Invoice. \r", - "//These two requests should be executed in one session." - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{BaseURL}}{{SalesInvoiceStatusUrl}}", - "host": [ - "{{BaseURL}}{{SalesInvoiceStatusUrl}}" - ] - } - }, - "response": [] - }, - { - "name": "Check the Status of the Sales Invoice", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The sales invoice has the Open status\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.equal(\"Open\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Credit Memo\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}/SalesInvoice/Invoice/INV000046?$select=ReferenceNbr,Type,Status", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "SalesInvoice", - "Invoice", - "INV000046" - ], - "query": [ - { - "key": "$select", - "value": "ReferenceNbr,Type,Status" - } - ] - } - }, - "response": [] - }, - { - "name": "Create a Direct Sales Invoice That Includes a Return", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Three detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(3);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"Hold\": {\"value\": false},\r\n \"Details\":\r\n [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"CHERJAM32\"},\r\n \"Qty\": {\"value\": 1},\r\n \"UOM\": {\"value\": \"PIECE\"},\r\n \"LotSerialNbr\": {\"value\": \"JM2502010003\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"BANANAS\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"F2S2\"},\r\n \"Qty\": {\"value\": 5},\r\n \"UOM\": {\"value\": \"LB\"},\r\n \"UnitPrice\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"FR200384\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"PEN\"},\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UnitPrice\": {\"value\": 2},\r\n \"UOM\": {\"value\": \"PIECE\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", - "host": [ - "{{EndpointURL}}SalesInvoice" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create a sales invoice that will contain sold stock items and ordered service, for which the billing settings will be specified, and to which a payment will be applied. This process is described in [Create a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6acfdb37-9770-4400-ad80-c229b467a649)." - }, - "response": [] - }, - { - "name": "Create a Sales Invoice in a Non-Default Currency", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Three detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(3);\r", - "});\r", - "pm.test(\"Currency is EUR\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Currency.value).to.be.eql('EUR');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"Currency\": {\"value\": \"EUR\"},\r\n \"Hold\": {\"value\": false},\r\n \"Details\":\r\n [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APJAM96\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Qty\": {\"value\": 2},\r\n \"UOM\": {\"value\": \"JBOX\"},\r\n \"Location\": {\"value\": \"L3R1S2\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"L1R1S2\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UOM\": {\"value\": \"PIECE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"CLEANING\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UOM\": {\"value\": \"HOUR\"}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", - "host": [ - "{{EndpointURL}}SalesInvoice" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create a sales invoice in a non-default currency. This process is described in [Create a Sales Invoice in a Non-Default Currency](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d72dde27-f3bb-4a71-bc6c-fb9a277d3acb)." - }, - "response": [] - }, - { - "name": "Create a Sales Invoice for an Unshipped RMA Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Adjusting doc is correct\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " var paymentNbr = pm.collectionVariables.get('paymentNbr');\r", - " pm.expect(jsonResponse.ApplicationsInvoice[0].AdjustingDocReferenceNbr.value).to.be.eql('000088');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"Hold\": {\"value\": false},\r\n \"Details\":\r\n [\r\n {\r\n \"Qty\": {\"value\": -1},\r\n \"OrderType\": {\"value\": \"RM\"},\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderLineNbr\": {\"value\": 1}\r\n },\r\n {\r\n \"Qty\": {\"value\": 1},\r\n \"OrderType\": {\"value\": \"RM\"},\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderLineNbr\": {\"value\": 2}\r\n }\r\n ],\r\n \"ApplicationsInvoice\":\r\n [\r\n {\r\n \"DocType\": {\"value\": \"Payment\"},\r\n \"AdjustingDocReferenceNbr\": {\"value\": \"{{paymentRefNbr}}\"},\r\n \"AmountPaid\": {\"value\": 30.50}\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice?$expand=ApplicationsInvoice,Details", - "host": [ - "{{EndpointURL}}SalesInvoice" - ], - "query": [ - { - "key": "$expand", - "value": "ApplicationsInvoice,Details" - } - ] - }, - "description": "This example shows how to create a sales invoice that will contain sold stock items and ordered service, for which the billing settings will be specified, and to which a payment will be applied. This process is described in [Create a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6acfdb37-9770-4400-ad80-c229b467a649)." - }, - "response": [] - }, - { - "name": "Create a Credit Memo", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Four detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(4);\r", - " pm.collectionVariables.set(\"creditMemoNbr\", jsonResponse.ReferenceNbr.value);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Release of a Credit Memo\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Hold\": {\"value\": false},\r\n \"Details\": [\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000005\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" }\r\n },\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000008\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" },\r\n \"OrigInvLineNbr\": { \"value\": 1 }\r\n },\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000012\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" },\r\n \"OrigInvLineNbr\": { \"value\": 2 },\r\n \"Qty\": { \"value\": 50 }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Project\": { \"value\": \"X\" },\r\n \"Type\": { \"value\": \"Credit Memo\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", - "host": [ - "{{EndpointURL}}SalesInvoice" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create a credit memo. This process is described in [Create a Credit Memo](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c3ade0ab-d6d9-450c-b386-9a9aac911e82)." - }, - "response": [] - }, - { - "name": "Release of a Credit Memo", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'SalesInvoice/Credit Memo/' + pm.collectionVariables.get('creditMemoNbr');\r", - " var requestPayment = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestPayment, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the credit memo should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Credit memo status is Open\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Open');\r", - " });\r", - " //Sign out and set the next request\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "pm.execution.setNextRequest(\"Retrieve a List of Sales Orders with Details and Related Shipments\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"entity\":{\r\n\t\t\"Type\": {\"value\": \"Credit Memo\"},\r\n\t\t\"ReferenceNbr\":{\"value\":\"{{creditMemoNbr}}\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}/SalesInvoice/ReleaseSalesInvoice", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "SalesInvoice", - "ReleaseSalesInvoice" - ] - } - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [SalesInvoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1ceca4db-c82d-40ee-9f9e-3cca976fd91c) entity." - }, - { - "name": "SalesOrder", - "item": [ - { - "name": "Retrieve a List of Sales Orders with Details and Related Shipments", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.be.not.empty;\r", - "});\r", - "pm.test(\"The first item includes all requested fields\", function () {\r", - " var jsonData = pm.response.json();\r", - " pm.expect(jsonData[0].OrderType.value).to.be.not.null;\r", - " pm.expect(jsonData[0].OrderNbr.value).to.be.not.null;\r", - " pm.expect(jsonData[0].CustomerID.value).to.be.not.null;\r", - " pm.expect(jsonData[0].CustomerOrder.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Date.value).to.be.not.null;\r", - " pm.expect(jsonData[0].OrderedQty.value).to.be.not.null;\r", - " pm.expect(jsonData[0].OrderTotal.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Details[0].InventoryID.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Details[0].OrderQty.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Details[0].UnitPrice.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Shipments[0].InvoiceNbr.value).to.be.not.null;\r", - " pm.expect(jsonData[0].Shipments[0].ShipmentNbr.value).to.be.not.null;\r", - "});\r", - "pm.test(\"Response does not contain CurrencyID\", function () {\r", - " pm.expect(pm.response.text()).to.not.include(\"CurrencyID\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve a List of Sales Orders in Batches\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Shipments&$filter=CustomerID eq 'C000000003'&$select=OrderNbr,OrderType,CustomerID,CustomerOrder,Details/InventoryID,Details/OrderQty,Details/UnitPrice,Date,OrderedQty,OrderTotal,Shipments/InvoiceNbr,Shipments/ShipmentNbr", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Shipments" - }, - { - "key": "$filter", - "value": "CustomerID eq 'C000000003'" - }, - { - "key": "$select", - "value": "OrderNbr,OrderType,CustomerID,CustomerOrder,Details/InventoryID,Details/OrderQty,Details/UnitPrice,Date,OrderedQty,OrderTotal,Shipments/InvoiceNbr,Shipments/ShipmentNbr" - } - ] - }, - "description": "This example shows the retrieval of a list of sales orders along with their details and related shipments, which is described in [Retrieve a List of Sales Orders with Details and Related Shipments](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2896cb78-c132-43d3-82fd-c9fc0ab0c3cb)." - }, - "response": [] - }, - { - "name": "Retrieve a List of Sales Orders in Batches", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The retrieved list has 4 items\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.have.lengthOf(4);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Sales Order with the Unit of Measure Specified\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}SalesOrder?$filter=CustomerID eq 'C000000003'&$select=OrderNbr,OrderType,CustomerID,OrderTotal&$top=5&$skip=5", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$filter", - "value": "CustomerID eq 'C000000003'" - }, - { - "key": "$select", - "value": "OrderNbr,OrderType,CustomerID,OrderTotal" - }, - { - "key": "$top", - "value": "5" - }, - { - "key": "$skip", - "value": "5" - } - ] - }, - "description": "This example shows the retrieval of a list of sales orders in batches, which is described in [Retrieve a List of Sales Orders in Batches](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=95b5c819-45b8-481f-b86e-4dafb96972a6)." - }, - "response": [] - }, - { - "name": "Retrieve a Sales Order by the Values of Specific Fields", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The sales order has three detail lines\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.have.lengthOf(1);\r", - " pm.expect(jsonResponse[0].Details).to.have.lengthOf(3);\r", - " jsonResponse[0].Details.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.InventoryID.value === \"CONGRILL\") {pm.collectionVariables.set(\"CONGRILL_detail_ID\",item.id);};\r", - " if (item.InventoryID.value === \"AALEGO500\") {pm.collectionVariables.set(\"AALEGO500_detail_ID\",item.id);}\r", - " }\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update the Detail Lines of a Sales Order\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}/SalesOrder?$expand=Details&$filter=OrderType eq 'SO' and CustomerOrder eq 'SO248-563-06'&$select=OrderNbr,OrderType,Details/InventoryID,Details/WarehouseID", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - }, - { - "key": "$filter", - "value": "OrderType eq 'SO' and CustomerOrder eq 'SO248-563-06'" - }, - { - "key": "$select", - "value": "OrderNbr,OrderType,Details/InventoryID,Details/WarehouseID" - } - ] - } - }, - "response": [] - }, - { - "name": "Create a Sales Order with the Unit of Measure Specified", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Detail's UOM is PIECE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].UOM.value).to.eql('PIECE');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Sales Order with a Credit Card Payment');" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"OrderQty\": { \"value\": 2 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a sales order with a unit of measure specified, which is described in [Create a Sales Order with the Unit of Measure Specified](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2d5fae3b-463b-4262-bb44-1a9fb571b998)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with a Credit Card Payment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One payment line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Payment method is ACUPAYCC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", - "});\r", - "pm.test(\"Order total is 980\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", - "});\r", - "pm.test(\"Status is Pending Processing\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", - "});\r", - "pm.test(\"PaymentRef is empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].PaymentRef).to.be.empty;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Sales Order with a Captured Credit Card Payment');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2024-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2024-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2024-05-10T00:00:00\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Payments", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Payments" - } - ] - }, - "description": "This example shows the creation of a sales order with a credit card payment, which is described in [Create a Sales Order with a Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e7d7b4a4-4609-4a68-ac74-5ab9006d80c5)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with a Captured Credit Card Payment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One payment line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Payment method is ACUPAYCC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", - "});\r", - "pm.test(\"Order total is 980\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", - "});\r", - "pm.test(\"Status is Open\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Open');\r", - "});\r", - "pm.test(\"PaymentRef is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Sales Order with an Authorized Credit Card Payment');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment (Capture)\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"Capture\": {\"value\": true}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Payments" - } - ] - }, - "description": "This example shows the creation of a sales order with a captured credit card payment, which is described in [Create a Sales Order with a Captured Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d5fd790b-af98-40ae-a008-a92950400305)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with an Authorized Credit Card Payment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One payment line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Payment method is ACUPAYCC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", - "});\r", - "pm.test(\"Order total is 980\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", - "});\r", - "pm.test(\"Status is Pending Processing\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", - "});\r", - "pm.test(\"PaymentRef is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Sales Order with an External Credit Card Payment');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment (Capture)\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"Authorize\": {\"value\": true}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Payments" - } - ] - }, - "description": "This example shows the creation of a sales order with an authorized credit card payment, which is described in [Create a Sales Order with an Authorized Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d76d89fe-4a65-4a40-98ad-d456edcf3e53)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with an External Credit Card Payment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One payment line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Payment method is ACUPAYCC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", - "});\r", - "pm.test(\"Order total is 980\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", - "});\r", - "pm.test(\"Status is Pending Processing\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", - "});\r", - "pm.test(\"PaymentRef is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction')" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"External CC payment\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"CreditCardTransactionInfo\": [\r\n {\r\n \"NeedValidation\": {\"value\": true},\r\n \"TranDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"TranNbr\": {\"value\": \"40050474170\"},\r\n \"TranType\": {\"value\": \"AUT\"}\r\n }\r\n ],\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Payments" - } - ] - }, - "description": "This example shows the creation of a sales order with an external credit card payment, which is described in [Create a Sales Order with an External Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=125d6a9c-c92b-4cb9-862b-424a60208edb)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with Tax Parameters Overridden", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"One tax detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxDetails).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Tax total is 0.5\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxTotal.value).to.eql(0.5);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Return for Credit for Items with Lot or Serial Numbers\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"IsTaxValid\": { \"value\": true },\r\n \"Details\": [\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"OrderQty\": { \"value\": 2 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ],\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": { \"value\": \"NYSTATETAX\" },\r\n \"TaxAmount\": { \"value\": 0.5 }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,TaxDetails", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,TaxDetails" - } - ] - }, - "description": "This example shows how to create a sales order with tax parameters overridden. This process is described in [Create a Sales Order with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=92d74d1d-5571-4852-a12a-bb8d66dc6f73)." - }, - "response": [] - }, - { - "name": "Create a Sales Order with Allocations", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"One allocation line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Order total is 4.52\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(4.52);\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": {\"value\": \"COFFEESHOP\"},\r\n \"Description\": {\"value\": \"Sales Order with Allocations\"},\r\n \"Details\": [\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"Allocations\": [\r\n {\r\n \"SplitLineNbr\": {\"value\": \"1\"},\r\n \"Allocated\": { \"value\": true },\r\n \"AllocWarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"116046\" },\r\n \"Qty\": { \"value\": 1 }\r\n }\r\n ]\r\n }\r\n ],\r\n \"Hold\": {\"value\": true},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows how to create a sales order with allocations. This process is described in [Create a Sales Order with Allocations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=256b7d10-b33e-8ad8-3d03-cd0009e91527)." - }, - "response": [] - }, - { - "name": "Create a Return for Credit for Multiple Invoices", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Order type is RC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderType.value).to.eql('RC');\r", - "});\r", - "pm.test(\"Order total is 317.04\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(317.04);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Create a Sales Order with Tax Parameters Overridden\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Description\": { \"value\": \"Return for Credit for Two Invoices\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"000062\" },\r\n \"InventoryID\": { \"value\": \"INSTALL\" }\r\n },\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"000030\" },\r\n \"InventoryID\": { \"value\": \"ORANGES\" },\r\n \"OrderQty\": { \"value\": \"50\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"OrderType\": { \"value\": \"RC\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." - }, - "response": [] - }, - { - "name": "Create a Return for Credit for Items with Lot or Serial Numbers", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Order type is RC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderType.value).to.eql('RC');\r", - "});\r", - "pm.test(\"Order total is 188932.8\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(188932.8);\r", - "});\r", - "pm.collectionVariables.set('RCOrderNbr', pm.response.json().OrderNbr.value);\r", - "pm.collectionVariables.set('RCDetailLineNbr', pm.response.json().Details[1].LineNbr.value);\r", - "pm.collectionVariables.set('RCDetailAllocationLineNbr', \r", - " pm.response.json().Details[1].Allocations[1].LineNbr.value);\r", - "pm.collectionVariables.set('RCDetailAllocationSplitLineNbr', \r", - " pm.response.json().Details[1].Allocations[1].SplitLineNbr.value);\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Update Allocations in a Return for Credit\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"MICROCHIP\" },\r\n \"Description\": { \"value\": \"Return for Credit for Items with Lot or Serial Numbers\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"InvoiceLineNbr\": { \"value\": \"2\" },\r\n \"OrderQty\": { \"value\": \"20\" },\r\n \"UOM\": { \"value\": \"EA\" }\r\n },\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"InvoiceLineNbr\": { \"value\": \"3\" },\r\n \"OrderQty\": { \"value\": \"6900\" },\r\n \"UOM\": { \"value\": \"EA\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"OrderType\": { \"value\": \"RC\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." - }, - "response": [] - }, - { - "name": "Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with SalesDemo data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One payment line is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Payment method is ACUPAYCC\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", - "});\r", - "pm.test(\"Order total is 2500\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(2500);\r", - "});\r", - "pm.test(\"Status is Pending Processing\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", - "});\r", - "pm.test(\"PaymentRef is not empty\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest('Create an RMA Order for a Return');" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"CustomerID\": {\r\n \"value\": \"WIDGETCC\"\r\n },\r\n \"Date\": {\r\n \"value\": \"2023-08-19T00:00:00+03:00\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"Details\": [\r\n {\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"AACOMPUT01\"\r\n },\r\n \"OrderQty\": {\r\n \"value\": 5.000000\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 500.000000\r\n },\r\n \"UOM\": {\r\n \"value\": \"EA\"\r\n },\r\n \"WarehouseID\": {\r\n \"value\": \"WHOLESALE\"\r\n }\r\n }\r\n ],\r\n \"OrderType\": {\r\n \"value\": \"RC\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"ACUPAYCC\"\r\n },\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\r\n \"value\": \"2023-08-19T00:00:00+03:00\"\r\n },\r\n \"AppliedToOrder\": {\r\n \"value\": 40.0000\r\n },\r\n \"CardAccountNbr\": {\r\n \"value\": \"VISA:****-****-****-1111\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10250\"\r\n },\r\n \"Currency\": {\r\n \"value\": \"USD\"\r\n },\r\n \"DocType\": {\r\n \"value\": \"Refund\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"OrigTransactionNbr\": {\r\n \"value\": \"60165234282\"\r\n },\r\n \"PaymentAmount\": {\r\n \"value\": 40.0000\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"ACUPAYCC\"\r\n },\r\n \"PaymentRef\": {\r\n \"value\": \"601704533664\"\r\n },\r\n \"ProcessingCenterID\": {\r\n \"value\": \"ACUPAYMENT\"\r\n },\r\n \"Refund\": {\r\n \"value\": true\r\n },\r\n \"ValidateCCRefundOrigTransaction\": {\r\n \"value\": false\r\n }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Payments", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Payments" - } - ] - }, - "description": "This example shows how to create a return for credit with and without validation of the card refund against the original transaction, which is described in [Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=11c419cf-78ae-41cd-abad-897c00a96a43)." - }, - "response": [] - }, - { - "name": "Create an RMA Order for a Return", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Requests to add sales order, shipment, invoice\r", - "var callback = (pm, error, response) => {\r", - " //Add sales order\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", - " var requestAddSO1 = {\r", - " url: url1,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"FRUITICO\"},\"Details\": [{\"InventoryID\": {\"value\": \"SWB-32OZ-GBT\"}, \"OrderQty\": {\"value\": 1}, \"WarehouseID\": {\"value\": \"RETAIL\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddSO1, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('orderID', jsonResponse.id);\r", - " });\r", - "\r", - " //Create shipment for the sales order\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/SalesOrderCreateShipment';\r", - " var orderID = pm.collectionVariables.get('orderID');\r", - " var requestCreateShipment = {\r", - " url: url2,\r", - " method: 'POST',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"entity\" : {\"id\": \"' + orderID + '\"}, \"parameters\" : { \"ShipmentDate\": { \"value\": \"2026-08-20T00:00:00+03:00\" },\"WarehouseID\": { \"value\": \"RETAIL\" }}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestCreateShipment, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " //Check the status of the operation\r", - " if (response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " //Get shipment number\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/' + orderID + '?$expand=Shipments';\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[0].ShipmentNbr.value);\r", - " });\r", - "\r", - " //Confirm shipment\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment/ConfirmShipment';\r", - " var shipmentNbr = pm.collectionVariables.get('shipmentNbr');\r", - " var requestConfirmShipment = {\r", - " url: url2,\r", - " method: 'POST',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"entity\" : {\"Type\" : {\"value\" : \"Shipment\"}, \"ShipmentNbr\": {\"value\" : \"' + shipmentNbr + '\"}}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestConfirmShipment, (error, response) => {\r", - " if (response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunctionX();\r", - " function myFunctionX(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunctionX();\r", - " }\r", - " else\r", - " { \r", - " //Prepare invoice\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment/PrepareInvoice';\r", - " var requestPrepareInvoice = {\r", - " url: url2,\r", - " method: 'POST',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"entity\" : {\"Type\" : {\"value\" : \"Shipment\"}, \"ShipmentNbr\": {\"value\" : \"' + shipmentNbr + '\"}}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPrepareInvoice, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " //Check the status of the operation\r", - " if (response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction3();\r", - " function myFunction3(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction3();\r", - " }\r", - " else\r", - " {\r", - " //Get invoice number for the shipment\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + shipmentNbr + '?$expand=Orders';\r", - " var requestShipment = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestShipment, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the shipment should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('invoiceNbr', jsonResponse.Orders[0].InvoiceNbr.value);\r", - " });\r", - "\r", - " //Release invoice\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesInvoice/ReleaseSalesInvoice';\r", - " var invoiceNbr = pm.collectionVariables.get('invoiceNbr');\r", - " var requestReleaseInvoice = {\r", - " url: url2,\r", - " method: 'POST',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"entity\" : {\"Type\" : {\"value\": \"Invoice\"}, \"ReferenceNbr\": {\"value\" : \"' + invoiceNbr + '\"}}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestReleaseInvoice, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " //Check the status of the operation\r", - " if (response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction4();\r", - " function myFunction4(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction4();\r", - " }\r", - " });\r", - " } \r", - " }\r", - " });\r", - " });\r", - " }\r", - " });\r", - " } \r", - " }\r", - " });\r", - " } \r", - " });\r", - " } \r", - " }\r", - " });\r", - " });\r", - " }\r", - " });\r", - " } \r", - " }\r", - " });\r", - " });\r", - "};\r", - "//Sign in and do prerequesites\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Order type is RM\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderType.value).to.eql('RM');\r", - "});\r", - "pm.test(\"Order total is 30.50\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.OrderTotal.value).to.eql(30.50);\r", - " pm.collectionVariables.set('paymentAmount', jsonResponse.OrderTotal.value);\r", - " pm.collectionVariables.set('RMorderNbr', jsonResponse.OrderNbr.value);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Create a Shipment with the Receipt Operation Type\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"FRUITICO\" },\r\n \"OrderType\": { \"value\": \"RM\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"{{invoiceNbr}}\" },\r\n \"Operation\": { \"value\": \"Receipt\" },\r\n \"InvoiceLineNbr\": { \"value\": \"1\" },\r\n \"OrderQty\": { \"value\": -1 },\r\n \"AutoCreateIssue\": { \"value\": false }\r\n },\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"InventoryID\": { \"value\": \"PEARJAM96\" },\r\n \"OrderQty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" },\r\n \"AutoCreateIssue\": { \"value\": false }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows how to create a sales order of the RM type. This process is described in [Create a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=83c0e442-ce9e-4e57-8a52-b8b22f56fcbe)." - }, - "response": [] - }, - { - "name": "Update the Detail Lines of a Sales Order", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The sales order has two detail lines\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.have.lengthOf(2);\r", - "});\r", - "pm.test(\"The sales order does not include CONGRILL\", function (){\r", - " pm.expect(pm.response.text()).to.not.include(\"CONGRILL\");\r", - "});\r", - "pm.test(\"The sales order includes 5 AALEGO500 items\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " jsonResponse.Details.forEach(myFunction);\r", - " function myFunction(item){\r", - " if (item.InventoryID.value === 'AALEGO500') {\r", - " pm.expect(item.OrderQty.value).to.eq(5.0);};\r", - " }\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Shipment from a Sales Order\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"OrderType\":{\"value\":\"SO\"},\n\t\"OrderNbr\":{\"value\":\"000003\"},\n\t\"Hold\":{\"value\":false},\n\t\"Details\":[\n\t\t{\n\t\t\t\"id\":\"{{CONGRILL_detail_ID}}\",\n\t\t\t\"delete\":true\n\t\t},\n\t\t{\n\t\t\t\"id\":\"{{AALEGO500_detail_ID}}\",\n\t\t\t\"OrderQty\":{\"value\":5.0}\n\t\t}\n\t]\n}" - }, - "url": { - "raw": "{{EndpointURL}}/SalesOrder?$select=OrderType,OrderNbr,OrderedQty,OrderTotal,Details/OrderQty,Details/InventoryID&$expand=Details", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "SalesOrder" - ], - "query": [ - { - "key": "$select", - "value": "OrderType,OrderNbr,OrderedQty,OrderTotal,Details/OrderQty,Details/InventoryID" - }, - { - "key": "$expand", - "value": "Details" - } - ] - } - }, - "response": [] - }, - { - "name": "Update Allocations in a Return for Credit", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", - "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", - "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", - "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two detail lines are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", - "});\r", - "pm.test(\"Lot serial number 1 is LREX15097\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[1].Allocations[0].LotSerialNbr.value).to.eql('LREX15097');\r", - "});\r", - "pm.test(\"Lot serial number 2 is LREX15098\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details[1].Allocations[1].LotSerialNbr.value).to.eql('LREX15098');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Create a Shipment for Sales Orders\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"OrderNbr\": { \"value\": \"{{RCOrderNbr}}\" },\r\n \"OrderType\": { \"value\": \"RC\" },\r\n \"Details\": [\r\n {\r\n \"InventoryID\": { \"value\": \"FOODTEA06\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"LineNbr\": { \"value\": {{RCDetailLineNbr}} },\r\n \"Allocations\": [\r\n {\r\n \"LineNbr\": { \"value\": {{RCDetailAllocationLineNbr}} },\r\n \"LotSerialNbr\": { \"value\": \"LREX15098\" },\r\n \"OrderNbr\": { \"value\": \"{{RCOrderNbr}}\" },\r\n \"OrderType\": { \"value\": \"RC\" },\r\n \"SplitLineNbr\": { \"value\": {{RCDetailAllocationSplitLineNbr}} }\r\n }\r\n ],\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations" - } - ] - }, - "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." - }, - "response": [] - }, - { - "name": "Apply Discounts to a Sales Order", - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\" :\r\n {\r\n \"OrderType\" : {\"value\" : \"SO\"},\r\n \"OrderNbr\" : {\"value\" : \"000070\"}\r\n },\r\n \"parameters\":\r\n {\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/AutoRecalculateDiscounts", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "AutoRecalculateDiscounts" - ] - }, - "description": "This example shows the application of discounts to a sales order, which is described in [Apply Discounts to a Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c6ad394e-9e1f-4dc4-ad50-bc4ab988fc1f)." - }, - "response": [] - }, - { - "name": "Create a Shipment from a Sales Order", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/42bb9a17-a402-e911-b818-00155d408001?$expand=Shipments';\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Sales order status is Shipping\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.be.eql('Shipping');\r", - " });\r", - " pm.test(\"One shipment is included\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Shipments).to.has.lengthOf(1);\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Create a Return for Credit for Multiple Invoices\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"id\":\"42bb9a17-a402-e911-b818-00155d408001\"\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": { \"value\": \"2026-08-20T00:00:00+03:00\" },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateShipment", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "SalesOrderCreateShipment" - ] - }, - "description": "This example shows the creation of a shipment from a sales order, which is described in [Create a Shipment from a Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9a0b1037-c931-4eff-a974-15403d3227a7)." - }, - "response": [] - }, - { - "name": "Create a Shipment with the Receipt Operation Type", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Set current date\r", - "var moment = require('moment');\r", - "pm.environment.set('currentDate', moment().format((\"YYYY-MM-DD\")));\r", - "\r", - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/RM/' + \r", - " pm.collectionVariables.get('RMorderNbr') + '?$expand=Shipments';\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"One shipment is included\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Shipments).to.has.lengthOf(1);\r", - " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[0].ShipmentNbr.value);\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Confirm a Shipment\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderType\": {\"value\": \"RM\"}\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": {\"value\": \"{{currentDate}}\"},\r\n \"WarehouseID\": {\"value\": \"RETAIL\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateReceipt", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "SalesOrderCreateReceipt" - ] - }, - "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." - }, - "response": [] - }, - { - "name": "Create a Shipment for a Replacement", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Set current date\r", - "var moment = require('moment');\r", - "pm.environment.set('currentDate', moment().format((\"YYYY-MM-DD\")));\r", - "\r", - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/RM/' + \r", - " pm.collectionVariables.get('RMorderNbr') + '?$expand=Shipments';\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"At least one shipment is included\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Shipments).length.to.be.greaterThan(0);\r", - " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[1].ShipmentNbr.value);\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Retrieve a Sales Order by the Values of Specific Fields\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderType\": {\"value\": \"RM\"}\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": {\"value\": \"{{currentDate}}\"},\r\n \"WarehouseID\": {\"value\": \"RETAIL\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateShipment", - "host": [ - "{{EndpointURL}}SalesOrder" - ], - "path": [ - "SalesOrderCreateShipment" - ] - }, - "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [SalesOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=22f2d9a6-c0d8-4909-a430-415d21d50eb1) entity." - }, - { - "name": "ServiceOrder", - "item": [ - { - "name": "Retrieve a Service Order", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Excluded from collection running\r", - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One service order is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Service order number is 000019\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].ServiceOrderNbr.value).to.eql('000019');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}ServiceOrder?$filter=ServiceOrderNbr eq '000019'", - "host": [ - "{{EndpointURL}}ServiceOrder" - ], - "query": [ - { - "key": "$filter", - "value": "ServiceOrderNbr eq '000019'" - } - ] - }, - "description": "This example shows the retrieval of a service order, which is described in [Retrieve a Service Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7673a33c-ebdc-44d4-a54b-8def79aafb6f)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [ServiceOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e494443c-2506-4be0-9a54-a3b57cca4fb4) entity." - }, - { - "name": "Shipment", - "item": [ - { - "name": "Create a Shipment for Sales Orders", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100');\r", - "//Sign in and do prerequesites\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The shipment is created for three items\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.have.lengthOf(3);\r", - "});\r", - "pm.test(\"The shipment is on hold\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Status.value).to.eql('On Hold');\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Shipment for Two Sales Orders with Allocations and Package Contents\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n\t\"Type\":{\"value\":\"Shipment\"},\r\n\t\"CustomerID\":{\"value\":\"C000000003\"},\r\n\t\"WarehouseID\":{\"value\":\"MAIN\"},\r\n \"ShipmentDate\":{\"value\":\"2025-11-01\"},\r\n\t\"Details\":[\r\n\t\t{\r\n\t\t\t\"OrderType\":{\"value\":\"SO\"},\r\n\t\t\t\"OrderNbr\":{\"value\":\"000004\"}\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"OrderType\":{\"value\":\"SO\"},\r\n\t\t\t\"OrderNbr\":{\"value\":\"000006\"}\r\n\t\t}\r\n\t]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment?$select=Type,ShipmentNbr,Status,Details/InventoryID&$expand=Details", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$select", - "value": "Type,ShipmentNbr,Status,Details/InventoryID" - }, - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of a shipment with allocations and package specifications, which is described in [Create a Shipment for Two Sales Orders with Allocations and Package Specifications](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ab83de33-505c-476e-b8b8-99f2a98e142c)." - }, - "response": [] - }, - { - "name": "Create a Shipment for Two Sales Orders with Allocations and Package Contents", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Requests to add sales orders\r", - "var callback = (pm, error, response) => {\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", - " var requestAddSO1 = {\r", - " url: url1,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM08\"}, \"OrderQty\": {\"value\": 2}, \"UOM\": {\"value\": \"PIECE\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddSO1, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('orderNbr1', jsonResponse.OrderNbr.value);\r", - " });\r", - "\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", - " var requestAddSO2 = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM32\"}, \"OrderQty\": {\"value\": 1}, \"UOM\": {\"value\": \"BOX\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddSO2, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('orderNbr2', jsonResponse.OrderNbr.value);\r", - " });\r", - " });\r", - " });\r", - "};\r", - "//Sign in and do prerequesites\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two details are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.have.lengthOf(2);\r", - "});\r", - "pm.test(\"Package box is LARGE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Packages[0].BoxID.value).to.eql(\"LARGE\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr1}}\" },\r\n \"OrderType\": { \"value\": \"SO\" },\r\n \"OrderLineNbr\": { \"value\": 1 },\r\n \"Allocations\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LocationID\": { \"value\": \"L2R3S1\" },\r\n \"Qty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LocationID\": { \"value\": \"L3R2S1\" },\r\n \"Qty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n }\r\n ]\r\n },\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr2}}\" },\r\n \"OrderType\": { \"value\": \"SO\" },\r\n \"OrderLineNbr\": { \"value\": 1 },\r\n \"Allocations\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM32\" },\r\n \"LocationID\": { \"value\": \"L1R3S2\" },\r\n \"Qty\": { \"value\": 6 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n }\r\n ]\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"Packages\": [\r\n {\r\n \"BoxID\": { \"value\": \"LARGE\" },\r\n \"UOM\": { \"value\": \"KG\" },\r\n \"Weight\": { \"value\": 15 },\r\n \"PackageContents\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr1}}\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr1}}\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM32\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 6 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr2}}\" }\r\n }\r\n ]\r\n }\r\n ],\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment?$expand=Details,Details/Allocations,Packages,Packages/PackageContents", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$expand", - "value": "Details,Details/Allocations,Packages,Packages/PackageContents" - } - ] - }, - "description": "This example shows the creation of a shipment with allocations and package specifications, which is described in [Create a Shipment for Two Sales Orders with Allocations and Package Specifications](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ab83de33-505c-476e-b8b8-99f2a98e142c)." - }, - "response": [] - }, - { - "name": "Read the Tracking Number from a Shipment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One shipment is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"One package is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].Packages).to.has.lengthOf(1);\r", - "});\r", - "pm.test(\"Tracking number is 398305336614\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].Packages[0].TrackingNbr.value).to.eql('398305336614');\r", - "});\r", - "//Sign out and set the next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Write the Tracking Number to a Shipment\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Shipment?$expand=Packages&$select=Packages/TrackingNbr&$filter=ShipmentNbr eq '000001'", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$expand", - "value": "Packages" - }, - { - "key": "$select", - "value": "Packages/TrackingNbr" - }, - { - "key": "$filter", - "value": "ShipmentNbr eq '000001'" - } - ] - }, - "description": "This example shows how to read the tracking number from a shipment, which is described in [Read the Tracking Number from a Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b68ebcd5-89c9-4d81-9caa-613de0d03535)." - }, - "response": [] - }, - { - "name": "Write the Tracking Number to a Shipment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Request to add a package\r", - "var callback = (pm, error, response) => {\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment?$expand=Packages';\r", - " var requestAddPackage = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"ShipmentNbr\": { \"value\": \"000058\"},\"Type\": {\"value\": \"Shipment\"},\"Packages\": [{\"BoxID\": {\"value\": \"SMALL\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddPackage, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding package should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('shipmentID', jsonResponse.id);\r", - " pm.collectionVariables.set('packageID', jsonResponse.Packages[0].id);\r", - " });\r", - " });\r", - "};\r", - "//Sign in and add a package to the shipment\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One package is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Packages).to.have.lengthOf(1);\r", - "});\r", - "pm.test(\"Tracking number is 398305336619\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Packages[0].TrackingNbr.value).to.eql('398305336619');\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update Freight Cost or Price\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"id\": \"{{shipmentID}}\",\r\n \"Packages\": [\r\n {\r\n \"id\": \"{{packageID}}\",\r\n \"TrackingNbr\": { \"value\": \"398305336619\" }\r\n }\r\n ]\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment?$expand=Packages&$select=Packages/TrackingNbr", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$expand", - "value": "Packages" - }, - { - "key": "$select", - "value": "Packages/TrackingNbr" - } - ] - }, - "description": "This example shows how to specify the tracking number in a shipment, which is described in [Write the Tracking Number to a Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=670f7957-231a-472b-9afb-55783a876dd9)." - }, - "response": [] - }, - { - "name": "Update Freight Cost or Price", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Request to configure shipments\r", - "var callback = (pm, error, response) => {\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'ShipVia';\r", - " var requestPutShipVia = {\r", - " url: url1,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"CarrierID\": { \"value\": \"LOCAL\"},\"CalculationMethod\": {\"value\": \"MANUAL\"}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutShipVia, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for updating ship via code should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment';\r", - " var requestPutShipment = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"Type\": { \"value\": \"Shipment\"},\"ShipmentNbr\": {\"value\": \"000058\"},\"ShipVia\": {\"value\": \"LOCAL\"}}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestPutShipment, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for updating shipment should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - " });\r", - "};\r", - "//Sign in and do prerequesites\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Freight price is 2\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.FreightPrice.value).to.eql(2);\r", - "});\r", - "pm.test(\"Freight cost is 1\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.FreightCost.value).to.eql(1);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create Separate Shipments for Each Sales Order\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"FreightPrice\": { \"value\": 2.0000 },\r\n \"FreightCost\": { \"value\": 1.0000 },\r\n \"OverrideFreightPrice\": { \"value\": true },\r\n \"ShipmentNbr\": { \"value\": \"000058\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment", - "host": [ - "{{EndpointURL}}Shipment" - ] - }, - "description": "This example shows the update of the freight cost or freight price of a shipment, which is described in [Update Freight Cost or Price](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=75c01ece-c80e-4a5e-a6e1-c4205ffa8263)." - }, - "response": [] - }, - { - "name": "Create Separate Shipments for Each Sales Order", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//U100 sign-in data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100');\r", - "//Requests to add sales orders\r", - "var callback = (pm, error, response) => {\r", - " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", - " var requestAddSO1 = {\r", - " url: url1,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM08\"}, \"OrderQty\": {\"value\": 20}, \"UOM\": {\"value\": \"PIECE\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddSO1, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('orderNbr1', jsonResponse.OrderNbr.value);\r", - " });\r", - "\r", - " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", - " var requestAddSO2 = {\r", - " url: url2,\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM32\"}, \"OrderQty\": {\"value\": 3}, \"UOM\": {\"value\": \"BOX\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - "\r", - " pm.sendRequest(requestAddSO2, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for adding order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " const jsonResponse = response.json();\r", - " pm.collectionVariables.set('orderNbr2', jsonResponse.OrderNbr.value);\r", - " });\r", - " });\r", - " });\r", - "};\r", - "//Sign in and do prerequesites\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"One detail is included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Details).to.have.lengthOf(1);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Modified Stock Items\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr1}}\" },\r\n \"OrderType\": { \"value\": \"SO\" }\r\n },\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr2}}\" },\r\n \"OrderType\": { \"value\": \"SO\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"CreateNewShipmentForEveryOrder\": { \"value\": true}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment?$expand=Details", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$expand", - "value": "Details" - } - ] - }, - "description": "This example shows the creation of separate shipments for each of the two sales orders, which is described in [Create Separate Shipments for Each Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=03c70fe4-c9e5-4539-b156-352bef734b2a)." - }, - "response": [] - }, - { - "name": "Confirm a Shipment", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + \r", - " pm.collectionVariables.get('shipmentNbr');\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Shipment is confirmed\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.eql('Confirmed');\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Prepare an Invoice for a Shipment\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment/ConfirmShipment", - "host": [ - "{{EndpointURL}}Shipment" - ], - "path": [ - "ConfirmShipment" - ] - }, - "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." - }, - "response": [] - }, - { - "name": "Prepare an Invoice for a Shipment", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 202\", function () {\r", - " pm.response.to.have.status(202);\r", - "});\r", - "//Check the status of the operation\r", - "if (pm.response.code === 202) {\r", - " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", - " var requestStatus = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " myFunction();\r", - " function myFunction(){\r", - " pm.sendRequest(requestStatus, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " if(response.code != 204)\r", - " {\r", - " setTimeout(function(){},100000);\r", - " myFunction();\r", - " }\r", - " else\r", - " {\r", - " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + \r", - " pm.collectionVariables.get('shipmentNbr');\r", - " var requestSalesOrder = {\r", - " url: url,\r", - " method: 'GET',\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestSalesOrder, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for the sales order should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " pm.test(\"Shipment is invoiced\", function (){\r", - " const jsonResponse = response.json();\r", - " pm.expect(jsonResponse.Status.value).to.eql('Invoiced');\r", - " });\r", - " //Sign out\r", - " var url = pm.collectionVariables.get('InstanceURL');\r", - " pm.acuFunc.singOutFunction(pm, url);\r", - " });\r", - " }\r", - " });\r", - " } \r", - "}\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Retrieve an Invoice Related to a Shipment\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "POST", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment/PrepareInvoice", - "host": [ - "{{EndpointURL}}Shipment" - ], - "path": [ - "PrepareInvoice" - ] - }, - "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." - }, - "response": [] - }, - { - "name": "Retrieve an Invoice Related to a Shipment", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "const jsonResponse = pm.response.json();\r", - "pm.collectionVariables.set('invoiceNbr', jsonResponse[0].Orders[0].InvoiceNbr.value);\r", - "//Set the next request\r", - "pm.execution.setNextRequest(\"Create a Shipment for a Replacement\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Shipment?$expand=Orders&$filter=ShipmentNbr eq '{{shipmentNbr}}'&$select=ShipmentNbr,Orders/InvoiceNbr,Orders/InvoiceType", - "host": [ - "{{EndpointURL}}Shipment" - ], - "query": [ - { - "key": "$expand", - "value": "Orders" - }, - { - "key": "$filter", - "value": "ShipmentNbr eq '{{shipmentNbr}}'" - }, - { - "key": "$select", - "value": "ShipmentNbr,Orders/InvoiceNbr,Orders/InvoiceType" - } - ] - }, - "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b6caac53-f98e-48aa-8571-eb0656100f5a) entity." - }, - { - "name": "StockItem", - "item": [ - { - "name": "Retrieve the List of Modified Stock Items", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Response contains AALEGO500\", function () {\r", - " pm.expect(pm.response.text()).to.include(\"AALEGO500\");\r", - "});\r", - "pm.test(\"Response does not contain AACOMPUT01\", function () {\r", - " pm.expect(pm.response.text()).to.not.include(\"AACOMPUT01\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Stock Items with Attributes\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Data for sign-in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "//Modification of stock items before request\r", - "var callback = (pm, error, response) => {\r", - " var endpointurl = pm.collectionVariables.get('EndpointURL');\r", - " var requestAACOMPUT01 = {\r", - " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"InventoryID\": {\"value\": \"AACOMPUT01\"},\"ItemStatus\": {\"value\": \"Inactive\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestAACOMPUT01, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for AACOMPUT01 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - "\r", - " var requestAALEGO500 = {\r", - " url: endpointurl+'StockItem?$select=InventoryID,Description',\r", - " method: 'PUT',\r", - " body: {\r", - " mode: 'raw',\r", - " raw: '{\"InventoryID\": {\"value\": \"AALEGO500\"},\"Description\": {\"value\": \"Lego, 500 piece set\"}}'\r", - " },\r", - " header: {\r", - " 'Content-Type': 'application/json'\r", - " }\r", - " };\r", - " pm.sendRequest(requestAALEGO500, (error, response) => {\r", - " if (error) {\r", - " console.log(error);\r", - " }\r", - "\r", - " pm.test('Response for AALEGO500 should be OK to process', () => {\r", - " pm.expect(error).to.equal(null);\r", - " pm.expect(response).to.have.property('code', 200);\r", - " pm.expect(response).to.have.property('status', 'OK');\r", - " });\r", - " });\r", - " });\r", - "}\r", - "//Sign in and modify stock items\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}/StockItem?$filter=ItemStatus eq 'Active' and LastModified gt datetimeoffset'2022-09-24T00:00:00.000'&$expand=WarehouseDetails&$select=InventoryID,Description,WarehouseDetails/WarehouseID,WarehouseDetails/QtyOnHand,ItemClass,BaseUOM", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "StockItem" - ], - "query": [ - { - "key": "$filter", - "value": "ItemStatus eq 'Active' and LastModified gt datetimeoffset'2022-09-24T00:00:00.000'" - }, - { - "key": "$expand", - "value": "WarehouseDetails" - }, - { - "key": "$select", - "value": "InventoryID,Description,WarehouseDetails/WarehouseID,WarehouseDetails/QtyOnHand,ItemClass,BaseUOM" - } - ] - } - }, - "response": [] - }, - { - "name": "Retrieve Stock Items with Attributes", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Three attributes are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Attributes).to.have.lengthOf(3);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Unit Conversion Rules from a Stock Item\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem/APL-16OZ-GBT?$expand=Attributes", - "host": [ - "{{EndpointURL}}StockItem" - ], - "path": [ - "APL-16OZ-GBT" - ], - "query": [ - { - "key": "$expand", - "value": "Attributes" - } - ] - }, - "description": "This example shows the retrieval of stock items with attributes, which is described in [Retrieve Stock Items with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=48756ad4-c99e-42e3-9cff-14e9e199b310)." - }, - "response": [] - }, - { - "name": "Retrieve Unit Conversion Rules from a Stock Item", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Two UOM conventions are included\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.UOMConversions).to.have.lengthOf(2);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve Stock Items with Prices and Quantities by Warehouse\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem/PLUMJAM96?$expand=UOMConversions", - "host": [ - "{{EndpointURL}}StockItem" - ], - "path": [ - "PLUMJAM96" - ], - "query": [ - { - "key": "$expand", - "value": "UOMConversions" - } - ] - }, - "description": "This example shows the retrieval of unit conversion rules from a stock item, which is described in [Retrieve Unit Conversion Rules from a Stock Item](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=aaeef8da-0636-4f17-af9d-56abf445b5c8)." - }, - "response": [] - }, - { - "name": "Retrieve Stock Items with Prices and Quantities by Warehouse", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Not empty list is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.be.not.empty;\r", - "});\r", - "pm.test(\"Default price is not null\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].DefaultPrice.value).to.be.not.null;\r", - "});\r", - "pm.test(\"QtyOnHand is not null\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].WarehouseDetails[0].QtyOnHand.value).to.be.not.null;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Attachments of a Stock Item\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}StockItem?$filter=DefaultWarehouseID eq 'WHOLESALE'&$expand=WarehouseDetails&$select=DefaultPrice,WarehouseDetails/QtyOnHand,WarehouseDetails/WarehouseID", - "host": [ - "{{EndpointURL}}StockItem" - ], - "query": [ - { - "key": "$filter", - "value": "DefaultWarehouseID eq 'WHOLESALE'" - }, - { - "key": "$expand", - "value": "WarehouseDetails" - }, - { - "key": "$select", - "value": "DefaultPrice,WarehouseDetails/QtyOnHand,WarehouseDetails/WarehouseID" - } - ] - }, - "description": "This example shows the retrieval of stock items with prices and quantities by warehouse, which is described in [Retrieve Stock Items with Prices and Quantities by Warehouse](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ef431206-da3a-4e30-b724-0071f82fb25c)." - }, - "response": [] - }, - { - "name": "Retrieve the List of Attachments of a Stock Item", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The stock item has files\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.files).to.be.not.empty;\r", - "});\r", - "const jsonData = pm.response.json();\r", - "pm.collectionVariables.set(\"fileRef\", jsonData.files[0].href);\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the File Attached to a Stock Item\");" - ], - "type": "text/javascript" - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}/StockItem/AAMACHINE1?$select=InventoryID,files&$expand=files", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "StockItem", - "AAMACHINE1" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID,files" - }, - { - "key": "$expand", - "value": "files" - } - ] - } - }, - "response": [] - }, - { - "name": "Retrieve the File Attached to a Stock Item", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The stock item contains a JPG file\", function (){\r", - " pm.expect(pm.response.text()).to.include(\"Exif\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Stock Item with Attributes\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{BaseURL}}{{fileRef}}", - "host": [ - "{{BaseURL}}{{fileRef}}" - ] - } - }, - "response": [] - }, - { - "name": "Create a Stock Item with Attributes", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"The stock item has two attributes\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Attributes).to.have.lengthOf(2);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Add a Note to a Stock Item\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"InventoryID\":{\"value\":\"BASESERV1\"},\n\t\"Description\":{\"value\":\"Baseline level of performance\"},\n\t\"ItemClass\":{\"value\":\"STOCKITEM\"},\n\t\"Attributes\":[\n\t\t{\n\t\t\t\"AttributeID\":{\"value\":\"Operation System\"},\n\t\t\t\"Value\":{\"value\":\"Windows\"}\n\t\t},\n\t\t{\n\t\t\t\"AttributeID\":{\"value\":\"SOFTVER\"},\n\t\t\t\"Value\":{\"value\":\"Server 2012 R2\"}\n\t\t}\n\t]\n}" - }, - "url": { - "raw": "{{EndpointURL}}/StockItem?$select=InventoryID,Attributes/AttributeDescription,Attributes/Value&$expand=Attributes", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "StockItem" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID,Attributes/AttributeDescription,Attributes/Value" - }, - { - "key": "$expand", - "value": "Attributes" - } - ] - } - }, - "response": [] - }, - { - "name": "Add a Note to a Stock Item", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"A note is attached\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.note.value).to.equal(\"My note\");\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Obtain the URL for the Attaching of a File\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\n\t\"InventoryID\":{\"value\":\"AALEGO500\"},\n\t\"note\": {\"value\": \"My note\"}\n}" - }, - "url": { - "raw": "{{EndpointURL}}/StockItem?$select=InventoryID", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "StockItem" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID" - } - ] - } - }, - "response": [] - }, - { - "name": "Obtain the URL for the Attaching of a File", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "const jsonResponse = pm.response.json();\r", - "const fileRef = jsonResponse._links['files:put'];\r", - "pm.collectionVariables.set('StockItemFileUrl', fileRef.replace('{filename}','T2MCRO.jpg'));\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Update a Tax Category\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Data for sign-in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "//Sign in and modify stock items\r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", - "" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}/StockItem/AALEGO500?$select=InventoryID", - "host": [ - "{{EndpointURL}}" - ], - "path": [ - "StockItem", - "AALEGO500" - ], - "query": [ - { - "key": "$select", - "value": "InventoryID" - } - ] - } - }, - "response": [] - }, - { - "name": "Attach a File to a Stock Item", - "event": [ - { - "listen": "test", - "script": { - "exec": [ - "pm.test(\"Status code is 204\", function () {\r", - " pm.response.to.have.status(204);\r", - "});\r", - "//Sign out and set next request\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with T100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameT100');\r", - "var password = pm.collectionVariables.get('PasswordT100');\r", - "var tenant = pm.collectionVariables.get('TenantT100');\r", - "var branch = pm.collectionVariables.get('BranchT100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/octet-stream", - "type": "text" - } - ], - "body": { - "mode": "file", - "file": { - "src": "/C:/Work/Help-and-Training-Examples/IntegrationDevelopment/I330/SourceFiles/T2MCRO.jpg" - } - }, - "url": { - "raw": "{{BaseURL}}{{StockItemFileUrl}}", - "host": [ - "{{BaseURL}}{{StockItemFileUrl}}" - ] - } - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [StockItem](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f8def7ed-b7d2-4bd6-bec7-edea763f7741) entity." - }, - { - "name": "TaxCategory", - "item": [ - { - "name": "Update a Tax Category", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Tax category is TAXABLE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TaxCategoryID.value).to.be.eql('TAXABLE');\r", - "});\r", - "pm.test(\"ExcludeListedTaxes is true\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.ExcludeListedTaxes.value).to.be.eql(true);\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Read Employee Time Activities\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Active\": { \"value\": true },\r\n \"Description\": { \"value\": \"Taxable Goods and Services v2\" },\r\n \"ExcludeListedTaxes\": { \"value\": true },\r\n \"TaxCategoryID\": { \"value\": \"TAXABLE\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}TaxCategory", - "host": [ - "{{EndpointURL}}TaxCategory" - ] - }, - "description": "This example shows the update of a tax category, which is described in [Update a Tax Category](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5d41edd8-90d2-40bd-bda7-91d617ac9427)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [TaxCategory](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c5ee575c-fd7e-445e-bb97-f66df3fbb7f7) entity." - }, - { - "name": "TimeEntry", - "item": [ - { - "name": "Read Employee Time Activities", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Not empty list is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.be.not.empty;\r", - "});\r", - "pm.test(\"TimeSpent is not null\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].TimeSpent.value).to.be.not.null;\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Write Employee Time Activities\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}TimeEntry", - "host": [ - "{{EndpointURL}}TimeEntry" - ] - }, - "description": "This example shows how to read the time spent on the tasks of projects. This process is described in [Read Employee Time Activities](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6826de52-8447-4149-aa42-957cbe30e452)." - }, - "response": [] - }, - { - "name": "Write Employee Time Activities", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = 'gibbs';\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Employee is EP00000026\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.Employee.value).to.be.eql('EP00000026');\r", - "});\r", - "pm.test(\"TimeSpent is 01:30\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TimeSpent.value).to.be.eql('01:30');\r", - "});\r", - "pm.test(\"TimeZone is (GMT+10:00) Canberra, Melbourne, Sydney\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TimeZone.value).to.be.eql('(GMT+10:00) Canberra, Melbourne, Sydney');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Search for Time Entries by Date\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Summary\" : {\"value\" : \"Time entry summary\"},\r\n \"Date\" : {\"value\" : \"2024-10-24T10:05:00.000\" },\r\n \"Employee\" : {\"value\" : \"EP00000026\" },\r\n \"ProjectID\" : {\"value\" : \"TOMYUM1\" },\r\n \"ProjectTaskID\" : {\"value\" : \"PHASE1\" },\r\n \"CostCode\" : {\"value\" : \"00-000\" },\r\n \"EarningType\" : {\"value\" : \"RG\" },\r\n \"TimeSpent\" : {\"value\" : \"01:30\" },\r\n \"BillableTime\" : {\"value\" : \"00:30\" },\r\n \"TimeZone\" : {\"value\" : \"(GMT+10:00) Canberra, Melbourne, Sydney\"}\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}TimeEntry", - "host": [ - "{{EndpointURL}}TimeEntry" - ] - }, - "description": "This example shows how to specify the time spent on the tasks of projects. This process is described in [Write Employee Time Activities](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=26ffd94a-ac96-4684-a03c-9676a5446211)." - }, - "response": [] - }, - { - "name": "Search for Time Entries by Date", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = 'gibbs';\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript", - "packages": {} - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Not empty list is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.be.not.empty;\r", - "});\r", - "pm.test(\"TimeSpent is 01:30\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].TimeSpent.value).to.be.eql('01:30');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Retrieve the List of Vendors\");" - ], - "type": "text/javascript", - "packages": {} - } - } - ], - "protocolProfileBehavior": { - "disableBodyPruning": true - }, - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "" - }, - "url": { - "raw": "{{EndpointURL}}TimeEntry?$filter=cf.DateTime(f='Items.Date') ge datetimeoffset'2024-10-23' and cf.DateTime(f='Items.Date') le datetimeoffset'2024-10-25T23%3A59%3A59.999%2B04%3A00'&$select=Date,ProjectID,TimeSpent,BillableTime", - "host": [ - "{{EndpointURL}}TimeEntry" - ], - "query": [ - { - "key": "$filter", - "value": "cf.DateTime(f='Items.Date') ge datetimeoffset'2024-10-23' and cf.DateTime(f='Items.Date') le datetimeoffset'2024-10-25T23%3A59%3A59.999%2B04%3A00'" - }, - { - "key": "$select", - "value": "Date,ProjectID,TimeSpent,BillableTime" - } - ] - }, - "description": "This example shows how to search for the time entries entered on particular date. This process is described in [Search for Time Entries by Date](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3127b81c-8f59-4051-9f1a-db0896e3b5af)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [TimeEntry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=223986c1-b5a5-4506-b0d7-f426bc89d1b7) entity." - }, - { - "name": "Vendor", - "item": [ - { - "name": "Retrieve the List of Vendors", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"Not empty list is returned\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse).to.be.not.empty;\r", - "});\r", - "pm.test(\"CashAccount is 10200TG\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse[0].CashAccount.value).to.eql('10200TG');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Vendor\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "GET", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "url": { - "raw": "{{EndpointURL}}Vendor?$filter=CashAccount eq '10200TG'", - "host": [ - "{{EndpointURL}}Vendor" - ], - "query": [ - { - "key": "$filter", - "value": "CashAccount eq '10200TG'" - } - ] - }, - "description": "This example shows the retrieval of vendors, which is described in [Retrieve the List of Vendors](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0a6af8a9-5055-4f8d-8a61-0dc32f49e1d6)." - }, - "response": [] - }, - { - "name": "Create a Vendor", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"VendorID is TESTVENDOR\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.VendorID.value).to.eql('TESTVENDOR');\r", - "});\r", - "pm.test(\"Vendor class is SUBCON\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.VendorClass.value).to.eql('SUBCON');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"Create a Work Calendar\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"AccountRef\": {},\r\n \"APAccount\": { \"value\": \"20000\" },\r\n \"APSubaccount\": { \"value\": \"000000\" },\r\n \"CashAccount\": { \"value\": \"10200WH\" },\r\n \"CurrencyID\": { \"value\": \"USD\" },\r\n \"CurrencyRateType\": { \"value\": \"SPOT\" },\r\n \"EnableCurrencyOverride\": { \"value\": true },\r\n \"EnableRateOverride\": { \"value\": false },\r\n \"F1099Box\": {},\r\n \"F1099Vendor\": { \"value\": false },\r\n \"FATCA\": {},\r\n \"FOBPoint\": {},\r\n \"ForeignEntity\": { \"value\": false },\r\n \"LandedCostVendor\": { \"value\": false },\r\n \"LastModifiedDateTime\": { \"value\": \"2020-08-11T10:47:41.17-04:00\" },\r\n \"LeadTimedays\": {},\r\n \"LocationName\": { \"value\": \"Primary Location\" },\r\n \"MaxReceipt\": { \"value\": 100.000000 },\r\n \"MinReceipt\": { \"value\": 0.000000 },\r\n \"ParentAccount\": {},\r\n \"PaymentBy\": { \"value\": \"Due Date\" },\r\n \"PaymentLeadTimedays\": { \"value\": 0 },\r\n \"PaymentMethod\": { \"value\": \"CHECK\" },\r\n \"PaySeparately\": { \"value\": false },\r\n \"PrintOrders\": { \"value\": false },\r\n \"ReceiptAction\": { \"value\": \"Accept but Warn\" },\r\n \"ReceivingBranch\": {},\r\n \"RemittanceAddressOverride\": { \"value\": false },\r\n \"RemittanceContactOverride\": { \"value\": false },\r\n \"SendOrdersbyEmail\": { \"value\": false },\r\n \"ShippingAddressOverride\": { \"value\": false },\r\n \"ShippingContactOverride\": { \"value\": false },\r\n \"ShippingTerms\": {},\r\n \"ShipVia\": {},\r\n \"Status\": { \"value\": \"Active\" },\r\n \"TaxCalculationMode\": { \"value\": \"Tax Settings\" },\r\n \"TaxRegistrationID\": {},\r\n \"TaxZone\": {},\r\n \"Terms\": { \"value\": \"30D\" },\r\n \"ThresholdReceipt\": { \"value\": 100.000000 },\r\n \"VendorClass\": { \"value\": \"SUBCON\" },\r\n \"VendorID\": { \"value\": \"TESTVENDOR\" },\r\n \"VendorIsLaborUnion\": { \"value\": false },\r\n \"VendorIsTaxAgency\": { \"value\": false },\r\n \"VendorName\": { \"value\": \"TESTVENDOR\" }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}Vendor", - "host": [ - "{{EndpointURL}}Vendor" - ] - }, - "description": "This example shows the creation of a vendor, which is described in [Create a Vendor](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8c83fbc5-1598-4312-9594-f9a40d7c6201)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [Vendor](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0469b6dd-5f6d-4813-afc3-2c42dbb9cacf) entity." - }, - { - "name": "WorkCalendar", - "item": [ - { - "name": "Create a Work Calendar", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"WorkCalendarID is TST\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.WorkCalendarID.value).to.eql('TST');\r", - "});\r", - "pm.test(\"TimeZone is (GMT-08:00) Pacific Time (US & Canada)\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.TimeZone.value).to.eql('(GMT-08:00) Pacific Time (US & Canada)');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url);\r", - "pm.execution.setNextRequest(\"\");" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"WorkCalendarID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Calendar\"\r\n },\r\n \"TimeZone\": {\r\n \"value\": \"GMTM0800A\"\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}WorkCalendar", - "host": [ - "{{EndpointURL}}WorkCalendar" - ] - }, - "description": "This example shows how to create a work calendar. This process is described in [Create a Work Calendar](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=be815df9-d191-4d4d-a6af-50af4ac9b6cf)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [WorkCalendar](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2fbc7663-b9c5-40b6-839d-40cd7d0e3d12) entity." - }, - { - "name": "WorkLocation", - "item": [ - { - "name": "Create a Work Location", - "event": [ - { - "listen": "prerequest", - "script": { - "exec": [ - "//Sign in to the tenant with U100 data\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "var username = pm.collectionVariables.get('UsernameU100');\r", - "var password = pm.collectionVariables.get('PasswordU100');\r", - "var tenant = pm.collectionVariables.get('TenantU100');\r", - "var branch = pm.collectionVariables.get('BranchU100'); \r", - "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" - ], - "type": "text/javascript" - } - }, - { - "listen": "test", - "script": { - "exec": [ - "//Test the result\r", - "pm.test(\"Status code is 200\", function () {\r", - " pm.response.to.have.status(200);\r", - "});\r", - "pm.test(\"WorkLocationID is DELLEVUE\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.WorkLocationID.value).to.eql('DELLEVUE');\r", - "});\r", - "pm.test(\"City is Bellevue\", function (){\r", - " const jsonResponse = pm.response.json();\r", - " pm.expect(jsonResponse.AddressInfo.City.value).to.eql('Bellevue');\r", - "});\r", - "//Sign out\r", - "var url = pm.collectionVariables.get('InstanceURL');\r", - "pm.acuFunc.singOutFunction(pm, url, \"\");\r", - "" - ], - "type": "text/javascript" - } - } - ], - "request": { - "method": "PUT", - "header": [ - { - "key": "Accept", - "value": "application/json", - "type": "text" - }, - { - "key": "Content-Type", - "value": "application/json", - "type": "text" - } - ], - "body": { - "mode": "raw", - "raw": "{\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"WorkLocationID\": {\r\n \"value\": \"DELLEVUE\"\r\n },\r\n \"WorkLocationName\": {\r\n \"value\": \"New address location\"\r\n },\r\n \"AddressInfo\": {\r\n \"AddressLine1\": {\r\n \"value\": \"1st Browny St.\"\r\n },\r\n \"AddressLine2\": {\r\n \"value\": \"Suite 200\"\r\n },\r\n \"City\": {\r\n \"value\": \"Bellevue\"\r\n },\r\n \"Country\": {\r\n \"value\": \"US\"\r\n },\r\n \"PostalCode\": {\r\n \"value\": \"98004\"\r\n },\r\n \"State\": {\r\n \"value\": \"WA\"\r\n }\r\n }\r\n}" - }, - "url": { - "raw": "{{EndpointURL}}WorkLocation?$expand=AddressInfo", - "host": [ - "{{EndpointURL}}WorkLocation" - ], - "query": [ - { - "key": "$expand", - "value": "AddressInfo" - } - ] - }, - "description": "This example shows how to create a work location. This process is described in [Create a Work Location](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3afa8a81-839e-403e-85b3-d19a60a02328)." - }, - "response": [] - } - ], - "description": "This folder contains requests that use the [WorkLocation](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2650e002-fccd-4128-a187-0c1467766f9d) entity." - } - ], - "event": [ - { - "listen": "prerequest", - "script": { - "type": "text/javascript", - "exec": [ - "let singInFunction = (pm, url, tenant, branch, username, password, callback) => { ", - "var requestSignIn = {", - " url: url + 'entity/auth/login',", - " method: 'POST',", - " body: {", - " mode: 'raw',", - " raw: '{ \"name\":\"'+username+'\", \"password\":\"'+password+'\", \"tenant\":\"'+tenant+'\", \"branch\": \"'+branch+'\"}'", - " },", - " header: {", - " 'Content-Type': 'application/json'", - " }", - "};", - "console.log(pm.info.requestName);", - "pm.sendRequest(requestSignIn, (error, response) => {", - " if (error) {", - " console.log(error);", - " }", - "", - " pm.test('Response for sing in should be 204 to process', () => {", - " pm.expect(error).to.equal(null);", - " pm.expect(response).to.have.property('code', 204);", - " pm.expect(response).to.have.property('status', 'No Content');", - " });", - "", - " if (callback) {", - " callback(pm, error, response);", - " }", - "", - "});", - "", - " };", - "", - "let pmProto = Object.getPrototypeOf(pm);", - "", - "pmProto.acuFunc = { singInFunction };" - ] - } - }, - { - "listen": "test", - "script": { - "type": "text/javascript", - "exec": [ - "let singOutFunction = (pm, url) => { ", - " var requestSignOut = {", - " url: url + 'entity/auth/logout',", - " method: 'POST',", - " header: {", - " 'Content-Type': 'application/json'", - " }", - " };", - "", - " pm.sendRequest(requestSignOut, (error, response) => {", - " if (error) {", - " console.log(error);", - " }", - "", - " pm.test('Response for sing out should be 204 to process', () => {", - " pm.expect(error).to.equal(null);", - " pm.expect(response).to.have.property('code', 204);", - " pm.expect(response).to.have.property('status', 'No Content');", - " });", - " });", - "};", - "", - "let pmProto = Object.getPrototypeOf(pm);", - "pmProto.acuFunc = { singOutFunction };" - ] - } - } - ], - "variable": [ - { - "key": "BaseURL", - "value": "https://localhost/", - "type": "string" - }, - { - "key": "InstanceURL", - "value": "{{BaseURL}}AcumaticaERP/" - }, - { - "key": "EndpointURL", - "value": "{{InstanceURL}}entity/Default/25.200.001/" - }, - { - "key": "ManufacturingEndpointURL", - "value": "{{ManufacturingInstanceURL}}entity/MANUFACTURING/25.100.001/", - "type": "string" - }, - { - "key": "TenantU100", - "value": "U100", - "type": "string" - }, - { - "key": "BranchU100", - "value": "HEADOFFICE", - "type": "string" - }, - { - "key": "UsernameU100", - "value": "admin", - "type": "string" - }, - { - "key": "PasswordU100", - "value": "123", - "type": "string" - }, - { - "key": "TenantT100", - "value": "T100", - "type": "string" - }, - { - "key": "BranchT100", - "value": "MYSTORE", - "type": "string" - }, - { - "key": "UsernameT100", - "value": "admin", - "type": "string" - }, - { - "key": "PasswordT100", - "value": "123", - "type": "string" - }, - { - "key": "TenantSalesDemo", - "value": "SalesDemo", - "type": "string" - }, - { - "key": "BranchSalesDemo", - "value": "PRODWHOLE", - "type": "string" - }, - { - "key": "UsernameSalesDemo", - "value": "admin", - "type": "string" - }, - { - "key": "PasswordSalesDemo", - "value": "123", - "type": "string" - }, - { - "key": "caseEntityID", - "value": "" - }, - { - "key": "customerEntityID", - "value": "" - }, - { - "key": "leadEntityID", - "value": "" - }, - { - "key": "paymentRefNbr", - "value": "" - }, - { - "key": "appliedToDocuments", - "value": "" - }, - { - "key": "appliedToOrders", - "value": "" - }, - { - "key": "proFormaReferenceNbr", - "value": "" - }, - { - "key": "purchaseReceiptID", - "value": "" - }, - { - "key": "shipmentID", - "value": "" - }, - { - "key": "packageID", - "value": "" - }, - { - "key": "SalesInvoiceStatusUrl", - "value": "" - }, - { - "key": "CONGRILL_detail_ID", - "value": "" - }, - { - "key": "AALEGO500_detail_ID", - "value": "" - }, - { - "key": "fileRef", - "value": "" - }, - { - "key": "recordFilter", - "value": "" - }, - { - "key": "filteredRecordID", - "value": "" - }, - { - "key": "orderNbr1", - "value": "" - }, - { - "key": "orderNbr2", - "value": "" - }, - { - "key": "orderID", - "value": "" - }, - { - "key": "shipmentNbr", - "value": "" - }, - { - "key": "invoiceEntityID", - "value": "" - }, - { - "key": "paymentNbr", - "value": "" - }, - { - "key": "StockItemFileUrl", - "value": "" - }, - { - "key": "RCOrderNbr", - "value": "" - }, - { - "key": "RCDetailAllocationLineNbr", - "value": "" - }, - { - "key": "RCDetailAllocationSplitLineNbr", - "value": "" - }, - { - "key": "RCDetailLineNbr", - "value": "" - }, - { - "key": "creditMemoNbr", - "value": "" - }, - { - "key": "invoiceNbr", - "value": "" - }, - { - "key": "RMorderNbr", - "value": "" - }, - { - "key": "ShipmentNbr", - "value": "" - }, - { - "key": "paymentAmount", - "value": "235.27", - "type": "default" - } - ] + "info": { + "_postman_id": "b2abe1f2-7196-4784-aa17-a950f9bbfe14", + "name": "REST API Examples (Integration Development Guide)", + "description": "This collection contains examples from the [REST API Examples](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=bbb8b84b-07d7-4a69-adf8-33dc5d430b60) chapter of the Integration Development Guide of Acumatica ERP.\n\n**Testing the Requests**\n\nTo test the examples, you configure this collection and the Acumatica ERP instance to be used as follows:\n\n- Deploy a new Acumatica ERP instance with three tenants that are based on the U100, SalesDemo, and T100 datasets. For details on deploying an instance, see [Deploying Acumatica ERP Instances](https://help.acumatica.com/(W(4))/Help?ScreenId=ShowWiki&pageid=d02b1a4a-4394-4eb1-a127-ba821108ba3f) in the Installation Guide.\n \n- Specify the base URL of the site in the _BaseURL_ variable of the collection.\n \n- Specify the instance URL in the _InstanceURL_ variable of the collection.\n \n- Make sure the URL of the Default/25.200.001 endpoint is in the _EndpointURL_ variable.\n \n- Make sure the URL of the MANUFACTURING/25.100.001 endpoint is in the _ManufacturingEndpointURL_ variable.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the U100 data in the _TenantU100_, _BranchU100_, _UsernameU100_, and _PasswordU100_ variables.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the T100 data in the _TenantT100_, _BranchT100_, _UsernameT100_, and _PasswordT100_ variables.\n \n- Specify the tenant name, branch, username, and password to access the tenant with the _SalesDemo_ data in the _TenantSalesDemo_, _BranchSalesDemo_, _UsernameSalesDemo_, and _PasswordSalesDemo_ variables.\n \n\nOther variables are used by particular requests and are specified during execution of other requests. You do not need to fill in their values manually.", + "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" + }, + "item": [ + { + "name": "Basic Requests", + "item": [ + { + "name": "Sign In to the Service", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "pm.test(\".ASPXAUTH recieved\", function () {\r", + " pm.expect(pm.cookies.indexOf('.ASPXAUTH')).to.be.not.null;\r", + "});\r", + "pm.test(\".ASP.NET_SessionId recieved\", function () {\r", + " pm.expect(pm.cookies.indexOf('.ASP.NET_SessionId')).to.be.not.null;\r", + "});\r", + "pm.execution.setNextRequest(\"Sign Out from the Service\");" + ] + } + } + ], + "id": "1c2574ac-329d-44af-a5b4-dd3b392d295f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\"name\" : \"{{UsernameU100}}\",\r\n\"password\" : \"{{PasswordU100}}\",\r\n\"company\" : \"{{TenantU100}}\",\r\n\"branch\" : \"{{BranchU100}}\"\r\n}" + }, + "url": { + "raw": "{{InstanceURL}}entity/auth/login", + "host": [ + "{{InstanceURL}}entity" + ], + "path": [ + "auth", + "login" + ] + }, + "description": "This example shows how to sign in to Acumatica ERP. This process is described in [Sign-In to the Service](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0322492a-de9b-4443-b256-923c48aff31d)." + }, + "response": [] + }, + { + "name": "Sign Out from the Service", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "pm.execution.setNextRequest(\"Create a Record\");" + ] + } + } + ], + "id": "4d53a7e6-b1c6-404f-9a43-a923b622ebf7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{InstanceURL}}entity/auth/logout", + "host": [ + "{{InstanceURL}}entity" + ], + "path": [ + "auth", + "logout" + ] + }, + "description": "This example shows how to sign out from Acumatica ERP. This process is described in [Sign-Out from the Service](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f6701ec1-2296-4155-8242-03d29006bf6e)." + }, + "response": [] + }, + { + "name": "Create a Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Customer ID is JOHNGOOD\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('JOHNGOOD');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update a Record\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "06c3709f-0dbf-45bb-b505-746207167e7d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\" : {\"value\" : \"JOHNGOOD\"},\r\n \"CustomerName\" : {\"value\" : \"John Good\"},\r\n \"CustomerClass\" : {\"value\" : \"DEFAULT\"},\r\n \"MainContact\" : \r\n {\r\n \"Email\" : {\"value\" : \"demo@gmail.com\"},\r\n \"Address\" : \r\n {\r\n \"AddressLine1\" : {\"value\" : \"4030 Lake Washington Blvd NE\"},\r\n \"AddressLine2\" : {\"value\" : \"Suite 100\"},\r\n \"City\" : {\"value\" : \"Kirkland\"},\r\n \"State\" : {\"value\" : \"WA\" },\r\n \"PostalCode\" : {\"value\" : \"98033\"}\r\n } \r\n } \r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer", + "host": [ + "{{EndpointURL}}Customer" + ] + }, + "description": "This example shows the creation of a record, which is described in [Create a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9d966d50-a0a1-4456-a9ff-1cc2159d48d4)." + }, + "response": [] + }, + { + "name": "Update a Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Customer ID is JOHNGOOD\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('JOHNGOOD');\r", + "});\r", + "pm.test(\"Customer class is ECCUSTOMER\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerClass.value).to.eql('ECCUSTOMER');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update Particular Fields of a Record\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "2fcf272c-dd27-46b5-921f-e92ca3ce2d61", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerClass\" : {\"value\" : \"ECCUSTOMER\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer?$filter=MainContact/Email eq 'demo@gmail.com'&$select=CustomerID,CustomerClass,MainContact/Email&$expand=MainContact", + "host": [ + "{{EndpointURL}}Customer" + ], + "query": [ + { + "key": "$filter", + "value": "MainContact/Email eq 'demo@gmail.com'" + }, + { + "key": "$select", + "value": "CustomerID,CustomerClass,MainContact/Email" + }, + { + "key": "$expand", + "value": "MainContact" + } + ] + }, + "description": "This example shows the update of a record, which is described in [Update a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1)." + }, + "response": [] + }, + { + "name": "Update Particular Fields of a Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Sales order number is 000029\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderNbr.value).to.eql('000029');\r", + "});\r", + "pm.test(\"Discount amount for the first line is 5\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].DiscountAmount.value).to.eql(5);\r", + "});\r", + "pm.test(\"Order quantity for the first line is 2\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].OrderQty.value).to.eql(2);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve a Record by Key Fields\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "a0bcdcb7-0d27-474d-a162-6520df145eb6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PATCH", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"OrderNbr\": { \"value\": \"000029\" },\r\n \"Details\": [\r\n {\r\n \"id\": \"a1d07920-a402-e911-b818-00155d408001\",\r\n \"OrderQty\": { \"value\": 2 },\r\n \"DiscountAmount\": { \"value\": 5 } \r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details&$select=Details/DiscountAmount,Details/OrderQty,OrderNbr,OrderType", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + }, + { + "key": "$select", + "value": "Details/DiscountAmount,Details/OrderQty,OrderNbr,OrderType" + } + ] + }, + "description": "This example shows the update of a record, which is described in [Update a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=af48c02a-afbc-4fdb-b1e5-635ac7ebbaf1)." + }, + "response": [] + }, + { + "name": "Retrieve a Record by Key Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Order number is 000001\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderNbr.value).to.eql('000001');\r", + "});\r", + "pm.test(\"Sales order includes detail lines\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).length.to.be.gte(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve a Record by ID\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "58ce7d42-152e-4867-b882-ceef4a0fd47e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/SO/000001?$expand=Details", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "SO", + "000001" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the retrieval of a record by the values of its key fields, which is described in [Retrieve a Record by Key Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=52c97a83-1fa1-40e9-8219-52a89a91f2da)." + }, + "response": [] + }, + { + "name": "Retrieve a Record by ID", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Order number is 000001\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderNbr.value).to.eql('000001');\r", + "});\r", + "pm.test(\"Sales order includes detail lines\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).length.to.be.gte(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Records by Conditions\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "17f1adc4-f436-40b6-b878-14245fe18eb6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/a6295b33-c7f6-e811-b817-00155d408001?$expand=Details", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "a6295b33-c7f6-e811-b817-00155d408001" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the retrieval of a record by the value of the entity ID, which is described in [Retrieve a Record by ID](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=bc9531b0-717b-4b2d-8899-ff7ca805ade1)." + }, + "response": [] + }, + { + "name": "Retrieve Records by Conditions", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Response contains APJAM32\", function () {\r", + " pm.expect(pm.response.text()).to.include(\"APJAM32\");\r", + "});\r", + "pm.test(\"Response does not contain APJAM08\", function () {\r", + " pm.expect(pm.response.text()).to.not.include(\"APJAM08\");\r", + "});\r", + "//Modification of a stock item after request\r", + "var endpointurl = pm.collectionVariables.get('EndpointURL');\r", + "var requestAPJAM08 = {\r", + " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"InventoryID\": {\"value\": \"APJAM08\"},\"ItemStatus\": {\"value\": \"Active\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestAPJAM08, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for APJAM08 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest(\"Retrieve Records Filtered by Custom Fields\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//The data for sign-in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Modification of stock items before request\r", + "var callback = (pm, error, response) => {\r", + " var endpointurl = pm.collectionVariables.get('EndpointURL');\r", + " var requestAPJAM08 = {\r", + " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"InventoryID\": {\"value\": \"APJAM08\"},\"ItemStatus\": {\"value\": \"Inactive\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestAPJAM08, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for APJAM08 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var requestAPJAM32 = {\r", + " url: endpointurl+'StockItem?$select=InventoryID,Description',\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"InventoryID\": {\"value\": \"APJAM32\"},\"Description\": {\"value\": \"Apple jam, 32 oz\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestAPJAM32, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for APJAM32 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + " });\r", + "}\r", + "//Sign in and modify stock items\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)" + ] + } + } + ], + "id": "5e83af3d-350e-4f62-827d-e6ddcd871267", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}StockItem?$expand=WarehouseDetails&$filter=ItemStatus eq 'Active' and LastModified gt datetimeoffset'2024-08-18T23%3A59%3A59.999%2B04%3A00'", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$expand", + "value": "WarehouseDetails" + }, + { + "key": "$filter", + "value": "ItemStatus eq 'Active' and LastModified gt datetimeoffset'2024-08-18T23%3A59%3A59.999%2B04%3A00'" + } + ] + }, + "description": "This example shows the retrieval of records that satisfy the specified conditions, which is described in [Retrieve Records by Conditions](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=775ca16b-cba6-4c1d-89d5-c1df7833bfea)." + }, + "response": [] + }, + { + "name": "Retrieve Records Filtered by Custom Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list has more than 1 item\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.length).to.be.gt(0);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Data from an Inquiry Form\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//The data for sign-in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Sign in and modify stock items\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "9a60437b-c761-44e1-b3e5-1532273117df", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice?$filter=cf.Decimal(f='Document.CuryBalanceWOTotal') eq 0M and cf.DateTime(f='Document.DiscDate') gt datetimeoffset'2024-02-18T23%3A59%3A59.999%2B04%3A00' ", + "host": [ + "{{EndpointURL}}SalesInvoice" + ], + "query": [ + { + "key": "$filter", + "value": "cf.Decimal(f='Document.CuryBalanceWOTotal') eq 0M and cf.DateTime(f='Document.DiscDate') gt datetimeoffset'2024-02-18T23%3A59%3A59.999%2B04%3A00' " + } + ] + }, + "description": "This example shows the retrieval of records that satisfy the specified conditions, which is described in [Retrieve Records by Conditions](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=775ca16b-cba6-4c1d-89d5-c1df7833bfea)." + }, + "response": [] + }, + { + "name": "Retrieve Data from an Inquiry Form", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"InventoryID is SIMCARD\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.InventoryID.value).to.eql('SIMCARD');\r", + "});\r", + "pm.test(\"Response includes one detail line\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Results).to.have.lengthOf(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Records in Batches\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "b7fbf463-8b8d-444d-b5d9-952a6a3658a5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\" : {\"value\" : \"SIMCARD\" } ,\r\n \"WarehouseID\" : {\"value\" : \"YOGI\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}InventorySummaryInquiry?$expand=Results", + "host": [ + "{{EndpointURL}}InventorySummaryInquiry" + ], + "query": [ + { + "key": "$expand", + "value": "Results" + } + ] + }, + "description": "This example shows the retrieval of data from an inquiry form, which is described in [Retrieve Data from an Inquiry Form](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6340cff3-4732-4231-9e42-5d1e5e65b5dd)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Records in Batches", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list has 5 items\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.have.lengthOf(5);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Records with Attributes\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "ca9b5b55-6db0-4340-99ae-241d0fc8d106", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}SalesOrder?$top=5&$skip=5&$select=CustomerID,LocationID,OrderNbr,OrderType", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$top", + "value": "5" + }, + { + "key": "$skip", + "value": "5" + }, + { + "key": "$select", + "value": "CustomerID,LocationID,OrderNbr,OrderType" + } + ] + }, + "description": "This example shows how to retrieve the second batch of five sales orders (that is, from 6th to 10th) by using the REST API. This example is described in [Retrieve the List of Records in Batches](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0ea8ce7c-4423-4286-a481-37e7261cc30f)." + }, + "response": [] + }, + { + "name": "Retrieve Records with Attributes", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The contact has one attribute\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " jsonResponse.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.LastName.value === 'Sans' && item.FirstName.value === 'Stephane') {\r", + " pm.expect(item.Attributes.length).to.eq(1);};\r", + " }\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Operate with Archived Records\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "3f948a54-2c0d-48b3-b08b-ee4ea9d8a54e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Contact?$expand=Attributes&$select=FirstName,LastName,JobTitle,Attributes/AttributeID,Attributes/Value", + "host": [ + "{{EndpointURL}}Contact" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes" + }, + { + "key": "$select", + "value": "FirstName,LastName,JobTitle,Attributes/AttributeID,Attributes/Value" + } + ] + }, + "description": "This example shows how to get leads together with their attributes. This process is described in [Retrieve Records with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=56831ee7-14b0-45ef-8207-dace30beb2cb)." + }, + "response": [] + }, + { + "name": "Operate with Archived Records", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).length.to.be.gt(0);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Remove a Record by Key Fields\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "47a5ddc9-ef69-4baf-be7d-dadf44486f3e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "PX-ApiArchive", + "value": "SHOW", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Shipment?$select=ShipmentNbr,ShipmentDate&$filter=ShipmentDate lt datetimeoffset'2025-12-31'", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$select", + "value": "ShipmentNbr,ShipmentDate" + }, + { + "key": "$filter", + "value": "ShipmentDate lt datetimeoffset'2025-12-31'" + } + ] + }, + "description": "This example shows how to make archived records visible for a request. This process is described in [Operate with Archived Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e03cadc1-a0c5-4ead-8afb-ee78b497beb2)." + }, + "response": [] + }, + { + "name": "Remove a Record by Key Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Remove a Record by ID\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "c45b52e7-9c7a-4f52-aef6-fb11c2e1a63d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}StockItem/CGFEEDER", + "host": [ + "{{EndpointURL}}StockItem" + ], + "path": [ + "CGFEEDER" + ] + }, + "description": "This example shows the removal of a record by key fields, which is described in [Remove a Record by Key Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d806636f-3cb8-4fd6-bc1e-fef9cdf9683d)." + }, + "response": [] + }, + { + "name": "Remove a Record by ID", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Execute an Action That Is Present in an Endpoint\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "71083025-5cdc-4484-8156-c8f71ba85b6e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "DELETE", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/e59cc6da-cc6c-ea11-b82d-00155d408001", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "e59cc6da-cc6c-ea11-b82d-00155d408001" + ] + }, + "description": "This example shows the removal of a record by its ID, which is described in [Remove a Record by ID](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=04825ddc-c3af-49de-8663-ae119e84b987)." + }, + "response": [] + }, + { + "name": "Execute an Action That Is Present in an Endpoint", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/SO/000001';\r", + "var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Sales order status is Back Order\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Back Order');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest('Execute an Action That Is Present in an Endpoint (Example 2)');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "5337bf7f-ee05-4f06-b38b-cb62d5979350", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{ \n \"entity\" :\n {\n \"OrderType\" : {\"value\" : \"SO\"}, \n \"OrderNbr\" : {\"value\" : \"000001\"} \n },\n \"parameters\" : \n {}\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/ReopenSalesOrder", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "ReopenSalesOrder" + ] + }, + "description": "This example shows the re-opening of a sales order, which is described in [Execute an Action That Is Present in an Endpoint](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324)." + }, + "response": [] + }, + { + "name": "Execute an Action That Is Present in an Endpoint (Example 2)", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'BusinessAccount/CANDYYY';\r", + "var requestBAccount = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestBAccount, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the business account should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest('Execute a Custom Action');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "604c27e6-24e5-4ba8-9447-15997c08639e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"entity\" : {\n \"BusinessAccountID\": { \"value\": \"CANDYY\" }\n },\n \"parameters\" : {\n \"BusinessAccountID\": { \"value\": \"CANDYYY\" }\n }\n}" + }, + "url": { + "raw": "{{EndpointURL}}BusinessAccount/ChangeBusinessAccountID", + "host": [ + "{{EndpointURL}}BusinessAccount" + ], + "path": [ + "ChangeBusinessAccountID" + ] + }, + "description": "This example shows the changing of the ID of a business account, which is described in [Execute an Action That Is Present in an Endpoint](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324)." + }, + "response": [] + }, + { + "name": "Execute a Custom Action", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'Case/6781fe19-9aa6-eb11-b846-00155d408001';\r", + "var requestCase = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestCase, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the case should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Case status is Closed\", function () {\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Closed');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest('Narrow the List of Records on a Processing Form');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "6bc33929-7589-449b-8d69-0baa46ade6a6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": {\r\n \"id\": \"6781fe19-9aa6-eb11-b846-00155d408001\"\r\n },\r\n \"parameters\": {\r\n \"custom\": {\r\n \"FilterPreview\": {\r\n \"Reason\": {\r\n \"type\" : \"CustomStringField\", \r\n \"value\" : \"Abandoned\"\r\n }\r\n }\r\n }\r\n } \r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Case/Close", + "host": [ + "{{EndpointURL}}Case" + ], + "path": [ + "Close" + ] + }, + "description": "This example shows the closing of a case, which is described in [Execute a Custom Action](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f01f3b8b-56c4-48ab-a043-dcbb10e3bfb3)." + }, + "response": [] + }, + { + "name": "Narrow the List of Records on a Processing Form", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Result is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Result).length.to.be.gt(0);\r", + " //Select the first item in the result to be processed\r", + " jsonResponse.Result.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.rowNumber === 1) {\r", + " item.Selected.value = true;}\r", + " else {item.Selected.value = false}\r", + " }\r", + " pm.collectionVariables.set(\"recordFilter\", JSON.stringify(jsonResponse));\r", + "});\r", + "//Do not sign out before the next request \r", + "//because these requests should be executed in one session\r", + "pm.execution.setNextRequest(\"Execute a Processing Action for Selected Records\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "54cffd9c-6cba-433d-8624-9a3c010e8adc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"AssignedToMe\": {\"value\": true},\r\n \"Type\": {\"value\": \"All\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmailProcessing?$expand=Result", + "host": [ + "{{EndpointURL}}EmailProcessing" + ], + "query": [ + { + "key": "$expand", + "value": "Result" + } + ] + }, + "description": "This example shows the application of a filter on a processing form, which is described in [Filter Records on a Processing Form](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2a697d48-0adf-4fa6-b5e5-af1f9459ec59)." + }, + "response": [] + }, + { + "name": "Execute a Processing Action for Selected Records", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " }\r", + " });\r", + " };\r", + "}\r", + "pm.execution.setNextRequest('Retrieve a File Attached to a Record');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//No need to sign in in this request because the sign-in has been done \r", + "//in Narrow the List of Records on a Processing Form. \r", + "//These two requests should be executed in one session." + ] + } + } + ], + "id": "6b1f1b00-5c1e-446e-a6a7-9438af04d293", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Entity\": {{recordFilter}}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmailProcessing/ProcessEmailProcessing", + "host": [ + "{{EndpointURL}}EmailProcessing" + ], + "path": [ + "ProcessEmailProcessing" + ] + }, + "description": "This example shows the execution of a processing action for selected records on a processing form, which is described in [Execute a Processing Action for Selected Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cf740fca-fc35-4d26-a7d2-6c84c50cc07e)." + }, + "response": [] + }, + { + "name": "Execute a Processing Action for All Filtered Records", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " }\r", + " });\r", + " };\r", + "}\r", + "pm.execution.setNextRequest('');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Skip this request in collection run\r", + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Request to retrieve the records for processing\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'EmailProcessing?$expand=Result';\r", + " var requestFilter = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"AssignedToMe\": {\"value\": true},\"Type\": {\"value\": \"All\"}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestFilter, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for records for processing should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('filteredRecordID', jsonResponse.id);\r", + " });\r", + " });\r", + "};\r", + "//Sign in and obtained filtered records\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "d2f45448-7035-49a0-bc11-4c761c0e9a21", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Entity\": {\"id\": \"{{filteredRecordID}}\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmailProcessing/ProcessAllEmailProcessing", + "host": [ + "{{EndpointURL}}EmailProcessing" + ], + "path": [ + "ProcessAllEmailProcessing" + ] + }, + "description": "This example shows the execution of a processing action for all filtered records on a processing form, which is described in [Execute a Processing Action for All Filtered Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fd52633e-df34-4696-9df3-7d94c8c1b96a)." + }, + "response": [] + }, + { + "name": "Retrieve a File Attached to a Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The stock item contains a JPG file\", function (){\r", + " pm.expect(pm.response.text()).to.include(\"JFIF\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Schema of Custom Fields and Workflow Actions\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Request to retrieve the list of attached files\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'StockItem/JUICER20C?$select=InventoryID,files&$expand=files';\r", + " var requestGetFileList = {\r", + " url: url2,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestGetFileList, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for retrieval of the file list should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('fileRef', jsonResponse.files[0].href);\r", + " });\r", + " });\r", + "};\r", + "//Sign in and retrieve the list of files\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "27090afc-b0c7-46b1-a76e-6057c08476ea", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{BaseURL}}{{fileRef}}", + "host": [ + "{{BaseURL}}{{fileRef}}" + ] + }, + "description": "This example shows the retrieval of a particular file attached to a record, which is described in [Retrieval of a File Attached to a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b1bc82ee-ae6b-442a-a369-863d98f14630).\n\nThe value of the fileRef variable is specified in the pre-request script." + }, + "response": [] + }, + { + "name": "Attach a File to a Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "pm.test(\"Location is present\", function () {\r", + " pm.response.to.have.header(\"Location\");\r", + "});\r", + "//Check comment text\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'StockItem/EJECTOR03?$select=InventoryID,files&$expand=files';\r", + "var requestPath = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "\r", + "pm.sendRequest(requestPath, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the attachment path should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.files[0].comment).to.eql('Test comment');\r", + " });\r", + "});\r", + "//Sign out and set next request \r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Schema of Custom Fields\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Excluded from collection run\r", + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Request to retrieve the path for attachment\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'StockItem/EJECTOR03?$select=InventoryID';\r", + " var requestPath = {\r", + " url: url2,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPath, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the attachment path should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " const fileRef = jsonResponse._links['files:put'];\r", + " pm.collectionVariables.set('fileRef', fileRef.replace('{filename}','T2MCRO.jpg'));\r", + " });\r", + " });\r", + "};\r", + "//Sign in and retrieve the attachment path\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "469e482e-2a61-460d-b8dd-4c64330b69dc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/octet-stream", + "type": "text" + }, + { + "key": "PX-CbFileComment", + "value": "Test comment", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{BaseURL}}{{fileRef}}", + "host": [ + "{{BaseURL}}{{fileRef}}" + ] + }, + "description": "This example shows the attachment of a file to a record, which is described in [Attach a File to a Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=591def3d-5fe5-42c1-bb35-cfe5b4c77f6f)." + }, + "response": [] + }, + { + "name": "Retrieve Comments for Attached Files", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Stock item is EJECTOR03\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.InventoryID.value).to.eql('EJECTOR03');\r", + "});\r", + "pm.test(\"Comment is _Test comment_\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.files[0].comment).to.eql('Test comment');\r", + "});\r", + "//Sign out and set next request \r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Excluded from collection run\r", + "//Attach a File to a Record needs to be executed to have attachments\r", + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Sign in and retrieve the attachment path\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password);" + ] + } + } + ], + "id": "36cb9854-5fcc-4840-824d-313d0de9a976", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem/EJECTOR03?$select=InventoryID,files&$expand=files", + "host": [ + "{{EndpointURL}}StockItem" + ], + "path": [ + "EJECTOR03" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID,files" + }, + { + "key": "$expand", + "value": "files" + } + ] + }, + "description": "This example shows the retrieval of comments for attached files, which is described in [Retrieve Comments for Attached Files](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=dbed8f9a-da49-4d28-888d-437b5a74d41c)." + }, + "response": [] + }, + { + "name": "Retrieve the Schema of Custom Fields and Workflow Actions", + "event": [ + { + "listen": "test", + "script": { + "id": "238489a2-5105-471b-91f3-3b8352639c05", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list includes custom fields\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails[0].custom).to.be.not.empty;\r", + "});\r", + "pm.test(\"The retrieved list includes workflow actions\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse._workflowActions.length).to.be.gt(0);\r", + "});\r", + "\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Request a Report\");" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + }, + { + "listen": "prerequest", + "script": { + "id": "552622f0-d279-4683-8bd2-3ddabe4f3aa8", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + } + ], + "id": "f6d6c0b2-70a0-4cbf-b009-3223b7718d9c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Opportunity/$adHocSchema", + "host": [ + "{{EndpointURL}}Opportunity" + ], + "path": [ + "$adHocSchema" + ] + }, + "description": "This example shows the retrieval of the schema of custom fields, which is described in [Retrieve the Schema of Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=64daacf1-75c4-4bfa-b57b-36222020e7c9)." + }, + "response": [] + }, + { + "name": "Retrieve a Record with Custom Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Order number is 000087\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderNbr.value).to.eql('000087');\r", + "});\r", + "pm.test(\"Product is Apple jam 8 oz.\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.custom.Document.AttributePRODUCT.value).to.eql('Apple jam 8 oz.');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "387e3bec-8ae4-481a-b3f7-ad049cb84f75", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}SalesOrder/SO/000087?$custom=Document.AttributePRODUCT", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "SO", + "000087" + ], + "query": [ + { + "key": "$custom", + "value": "Document.AttributePRODUCT" + } + ] + }, + "description": "This example shows the retrieval of a user-defined field PRODUCT added to the Sales Order form, which is described in [Retrieve a Record with Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=01266cc0-6eb1-4e41-b049-246e5915496d)." + }, + "response": [] + }, + { + "name": "Create a Record with Custom Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Product is Apple jam 8 oz.\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.custom.Document.AttributePRODUCT.value).to.eql('Apple jam 8 oz.');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "1707b99e-187f-4d36-a298-dc64966fd0ff", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"SO\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"custom\": {\r\n \"Document\": {\r\n \"AttributePRODUCT\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"Apple jam 8 oz.\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$custom=Document.AttributePRODUCT", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$custom", + "value": "Document.AttributePRODUCT" + } + ] + }, + "description": "This example shows the creation of a sales order with the user-defined field PRODUCT, which is described in [Createe a Record with Custom Fields](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6397c034-d191-4302-8f9d-0a0aec5b5ba8)." + }, + "response": [] + }, + { + "name": "Retrieve Localized Values of a Multi-Language Field", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"English translation is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].custom.Item.DescrTranslations.value).contains('en');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url)" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "eb22b15d-0861-432c-9fcb-41128d925c32", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem?$custom=Item.DescrTranslations&$select=custom.Item", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$custom", + "value": "Item.DescrTranslations" + }, + { + "key": "$select", + "value": "custom.Item" + } + ] + }, + "description": "This example shows the retrieval of localized values of a multi-language field, which is described in [Retrieve Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=44710da9-8e91-4836-92eb-d20a32a5dca6)." + }, + "response": [] + }, + { + "name": "Retrieve Localized Values of All Multi-Language Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"English translation is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].Description.translations.en).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "91db0e81-19bf-43e7-8b68-b281516f9773", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem?$expand=Translations", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$expand", + "value": "Translations" + } + ] + }, + "description": "This example shows the retrieval of all localized values of all multi-language fields, which is described in [Retrieve Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=44710da9-8e91-4836-92eb-d20a32a5dca6)." + }, + "response": [] + }, + { + "name": "Specify Any Number of Localized Values of a Multilingual Field", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Translations include French\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Description.translations.fr).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url)" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "08fb9508-08bf-46cc-8297-fd9cac7e77b7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\" : { \"value\" : \"LAPTOP15\" },\r\n \"Description\" : {\r\n \"value\": \"new description in English\",\r\n \"Translations\": {\r\n \"fr\": \"nouvelle description en français\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}StockItem?$select=InventoryID,Description,Translations&$expand=Translations", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID,Description,Translations" + }, + { + "key": "$expand", + "value": "Translations" + } + ] + }, + "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." + }, + "response": [] + }, + { + "name": "Specify All Localized Values of a Multi-Language Field", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Translations include French\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.custom.Item.DescrTranslations.value).contains('fr');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url)" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "6e636080-b274-4cb2-b72d-16a3941073c8", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\" : {\"value\" : \"BASESERV\" },\r\n \"ItemClass\" : {\"value\" : \"COMPUTERS\" },\r\n \"Description\" : {\"value\" : \"[{en:Item},{fr:Pièce}]\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}StockItem?$custom=Item.DescrTranslations&$select=custom.Item", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$custom", + "value": "Item.DescrTranslations" + }, + { + "key": "$select", + "value": "custom.Item" + } + ] + }, + "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." + }, + "response": [] + }, + { + "name": "Request a Report", + "event": [ + { + "listen": "test", + "script": { + "id": "6d4c25ff-bc5c-474e-95cc-15c9272b6f50", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 200)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " pm.test('Response contains pdf', function () {\r", + " pm.expect(response.headers.get('content-type')).to.include('application/pdf');\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " }\r", + " });\r", + " };\r", + "}\r", + "pm.execution.setNextRequest('Change the Business Date or Current Branch');" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + }, + { + "listen": "prerequest", + "script": { + "id": "47cb8ce2-e422-4074-bc79-5f1ba5b24786", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + } + ], + "id": "67b694c4-8dde-4a7c-9205-265240d94c68", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/pdf", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CompanyBranch\": {\"value\": \"SOFT\"},\r\n \"IncludeNonClearedTransactions\": {\"value\": true}\r\n}" + }, + "url": { + "raw": "{{InstanceURL}}/entity/Report/0001/CashAccountSummary", + "host": [ + "{{InstanceURL}}" + ], + "path": [ + "entity", + "Report", + "0001", + "CashAccountSummary" + ] + }, + "description": "This example shows the specification of localized values of a multi-language field, which is described in [Specify Localized Values of a Multi-Language Field](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33e74dc8-aad3-4fb0-b3ac-e8ecaf323578)." + }, + "response": [] + }, + { + "name": "Change the Business Date or Current Branch", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Branch is RETAIL\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.BranchID.value).to.eql('RETAIL');\r", + "});\r", + "pm.test(\"Post period is 012025\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PostPeriod.value).to.eql('012025');\r", + "});\r", + "pm.test(\"Transaction date is 2025-01-01\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TransactionDate.value).contains('2025-01-01');\r", + "});\r", + "\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Acumatica ERP Version and the List of Endpoints\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "d43556ac-de4c-41fe-a2da-15ef56134b0c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "PX-CbApiBusinessDate", + "value": "2025/01/01", + "type": "text" + }, + { + "key": "PX-CbApiBranch", + "value": "SweetLife Store", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Description\": {\"value\": \"Test transaction description\"},\r\n \"PostPeriod\": {\"value\": \"01-2025\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}JournalTransaction", + "host": [ + "{{EndpointURL}}JournalTransaction" + ] + }, + "description": "This example shows how to set the active branch and business date for a request. This process is described in [Change the Business Date or Current Branch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9821cff9-4970-4153-a0f8-dbf5758133a7)." + }, + "response": [] + }, + { + "name": "Retrieve the Acumatica ERP Version and the List of Endpoints", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list includes the latest system endpoint\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " let endpointExists = false;\r", + " jsonResponse.endpoints.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.name === 'Default' & item.version === '22.200.001') {\r", + " endpointExists = true;}\r", + " }\r", + " pm.expect(endpointExists).to.eql(true);\r", + "});\r", + "\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Account Group\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "0a9163df-2473-4ab7-8776-ed621dbf5130", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + }, + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{InstanceURL}}/entity", + "host": [ + "{{InstanceURL}}" + ], + "path": [ + "entity" + ] + }, + "description": "This example obtains the Acumatica ERP version and the list of contract-based endpoints available in this version by using the REST API. This example is described in [Retrieve the Acumatica ERP Version and the List of Endpoints](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=da0fe495-b2e5-4d34-ab5a-5829e408f684)." + }, + "response": [] + } + ], + "id": "80ff65c8-8f5c-4e72-b4ed-2e58d5a8b02b", + "description": "This folder contains examples from the [Basic Requests](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1c767ad9-da6d-4047-bc93-6970ad469504) chapter of the Integration Development Guide." + }, + { + "name": "Account", + "item": [ + { + "name": "Add an Account to an Account Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The 40000 account is in the ACCG02 group\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.AccountCD.value).to.eql('40000');\r", + " pm.expect(jsonResponse.AccountGroup.value).to.eql('ACCG02');\r", + "});\r", + "//Add another account to the group\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'Account';\r", + "var request40010 = {\r", + " url: url,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"AccountCD\" : {\"value\" : \"40010\"},\"AccountGroup\" : {\"value\" : \"ACCG02\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(request40010, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for 40010 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " \r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest(\"Specify the Default Account of an Account Group\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "4782a18f-8471-43d3-a2c0-bb9edbab6873", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"AccountCD\" : {\"value\" : \"40000\"},\r\n \"AccountGroup\" : {\"value\" : \"ACCG02\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Account", + "host": [ + "{{EndpointURL}}Account" + ] + }, + "description": "This example shows how to add an account to an account group in Acumatica ERP. This process is described in [Add an Account to an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c11c1255-8dc2-4f80-8aaf-b2cf073a9387)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Accounts in a Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The 40000 account is in the ACCG02 group\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " jsonResponse.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.AccountCD.value === \"40000\") {pm.expect(item.AccountGroup.value).to.eql('ACCG02');};\r", + " }\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Remove an Account from a Group\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "b0040fb0-fe5a-450b-a016-1504a5ed1cb2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Account?$filter=AccountGroup%20eq%20'ACCG02'&$select=AccountCD", + "host": [ + "{{EndpointURL}}Account" + ], + "query": [ + { + "key": "$filter", + "value": "AccountGroup%20eq%20'ACCG02'" + }, + { + "key": "$select", + "value": "AccountCD" + } + ] + }, + "description": "This example shows how to retrieve the list of accounts that are in an account group in Acumatica ERP. This process is described in [Retrieve the List of Accounts in a Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=958a189e-8574-4d4a-9e92-87554773b51d)." + }, + "response": [] + }, + { + "name": "Remove an Account from a Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The 40010 account is not in any group\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.AccountCD.value).to.eql('40010');\r", + " pm.expect(jsonResponse.AccountGroup).to.be.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Get General Ledger Transactions for Some Period\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "8fceca88-894c-41cf-8310-6e92721eca7c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"AccountCD\" : {\"value\" : \"40010\"},\r\n \"AccountGroup\" : {\"value\" : null}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Account", + "host": [ + "{{EndpointURL}}Account" + ] + }, + "description": "This example shows how to remove an account from an account group in Acumatica ERP. This process is described in [Remove an Account from a Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=40bea35c-ca46-48d2-b7cb-00a1f80261d9)." + }, + "response": [] + } + ], + "id": "1f20f491-d8cf-4ada-9742-25d2db7429ac", + "description": "This folder contains requests that use the [Account](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4dc38e0f-e7fe-41cf-8370-fe900753d7a4) entity." + }, + { + "name": "AccountDetailsForPeriodInquiry", + "item": [ + { + "name": "Get General Ledger Transactions for Some Period", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Results list is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Results).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Case\");\r", + "\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "80441474-1160-44cc-b8cf-24a9f0c422cc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"FromPeriod\": { \"value\": \"032023\" },\r\n \"ToPeriod\": { \"value\": \"042023\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}AccountDetailsForPeriodInquiry?$expand=Results", + "host": [ + "{{EndpointURL}}AccountDetailsForPeriodInquiry" + ], + "query": [ + { + "key": "$expand", + "value": "Results" + } + ] + }, + "description": "This example shows the retrieval of general ledger transactions for the specified period, which is described in [Get General Ledger Transactions for Some Period](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=249c70a0-0f08-4a02-a80c-6a9e4c4cc0fe)." + }, + "response": [] + } + ], + "id": "da30926c-6a4e-4500-be55-448a88ff685e", + "description": "This folder contains requests that use the [AccountDetailsForPeriodInquiry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5459946e-edff-44e7-853a-3613cfcfcea3) entity." + }, + { + "name": "AccountGroup", + "item": [ + { + "name": "Create an Account Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The ACCG02 account group is created\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.AccountGroupID.value).to.eql('ACCG02');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Add an Account to an Account Group\");\r", + "\r", + "\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "8fb6a6b9-5bd5-40c9-a0df-6bfd4b41a270", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"AccountGroupID\" : {\"value\" : \"ACCG02\"},\r\n \"Description\" : {\"value\" : \"Test Account Group\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}AccountGroup", + "host": [ + "{{EndpointURL}}AccountGroup" + ] + }, + "description": "This example shows how to create an account group in Acumatica ERP. This process is described in [Create an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d4ad7ce9-d197-404b-865a-26cd6073df1f)." + }, + "response": [] + }, + { + "name": "Specify the Default Account of an Account Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The 40000 account is the default account\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.AccountGroupID.value).to.eql('ACCG02');\r", + " pm.expect(jsonResponse.DefaultAccountID.value).to.eql('40000');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Accounts in a Group\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "bf462924-f1cf-4a1c-90b8-329ffa9bd479", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"DefaultAccountID\" : {\"value\" : \"40000\"},\r\n \"AccountGroupID\" : {\"value\" : \"ACCG02\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}AccountGroup", + "host": [ + "{{EndpointURL}}AccountGroup" + ] + }, + "description": "This example shows how to set an account as the default account of an account group in Acumatica ERP. This process is described in [Specify the Default Account of an Account Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=98c96a8d-de93-4062-aeec-b3a991af3afc)." + }, + "response": [] + } + ], + "id": "a492884c-7c92-48db-8223-21f6968756d9", + "description": "This folder contains requests that use the [AccountGroup](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=92e21de7-7cdc-4507-95d4-537361e6569b) entity." + }, + { + "name": "Activity", + "item": [ + { + "name": "Create an Activity that is Linked to a Case", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Related entity type is case\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.CR.CRCase');\r", + "});\r", + "//Sign out and the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Link a Case to Another Case\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "ecbc7071-e3ef-42aa-b8bb-71fea67e62ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{caseEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.CR.CRCase\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Activity", + "host": [ + "{{EndpointURL}}Activity" + ] + }, + "description": "This example shows the creation of an activity that is linked to a case, which is described in [Create an Activity that is Linked to a Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=281011f8-aaf5-440f-a558-ff83afd09e62).\n\nThis request requires the value of caseEntityID collection variable. You can set it manually or by executing the Create a Case request." + }, + "response": [] + }, + { + "name": "Create an Activity that is Linked to a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Related entity type is customer\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.AR.Customer');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Customers with Contacts\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "b05a0d0d-a1de-4364-87ba-6194fb4cd1a1", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test 2\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{customerEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.AR.Customer\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test 2\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Activity", + "host": [ + "{{EndpointURL}}Activity" + ] + }, + "description": "This example shows the creation of an activity that is linked to a customer, which is described in [Create an Activity that is Linked to a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=19b027ab-a469-481c-94c7-567f9884bbab).\n\nThis request requires the value of customerEntityID collection variable. You can set it manually or by executing the Create a Customer request." + }, + "response": [] + }, + { + "name": "Create an Activity that is Linked to a Lead", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Related entity type is lead\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.RelatedEntityType.value).to.eql('PX.Objects.CR.CRLead');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Bill for Particular Lines of a Purchase Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e82891c8-fe19-4b48-a29e-f273523a4cdd", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Summary\": {\"value\": \"Automated Test 3\"},\r\n \"Type\": {\"value\": \"M\"},\r\n \"RelatedEntityNoteID\": {\"value\": \"{{leadEntityID}}\"},\r\n \"RelatedEntityType\": {\"value\": \"PX.Objects.CR.CRLead\"},\r\n \"ActivityDetails\":{\"value\": \"Automated Test 3\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Activity", + "host": [ + "{{EndpointURL}}Activity" + ] + }, + "description": "This example shows the creation of an activity that is linked to a lead, which is described in [Create an Activity that is Linked to a Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=498dbbec-97a2-416b-a151-459ed07994dd).\n\nThis request requires the value of leadEntityID collection variable. You can set it manually or by executing the Create a Lead request." + }, + "response": [] + } + ], + "id": "b74267c7-a40c-43f2-b1d7-362478fb278a", + "description": "This folder contains requests that use the [Activity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6856d876-f6fd-407d-a530-01b81fbeeb49) entity." + }, + { + "name": "Bill", + "item": [ + { + "name": "Create a Bill for Particular Lines of a Purchase Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Vendor is PRINTICO\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Vendor.value).to.eql('PRINTICO');\r", + "});\r", + "pm.test(\"Bill has one detail line\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", + "});\r", + "pm.test(\"Qty of detail line is 5\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Qty.value).to.eql(5);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Bill for Particular Lines of a Purchase Receipt');\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "4a561f2e-7cd8-400c-af51-978a9a00ba4b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"Vendor\": {\r\n \"value\": \"PRINTICO\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"123\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Bill for particular lines of a purchase order\"\r\n },\r\n \"Details\": [\r\n {\r\n \"POOrderType\": {\r\n \"value\": \"Normal\"\r\n },\r\n \"POOrderNbr\": {\r\n \"value\": \"000001\"\r\n },\r\n \"POLine\": {\r\n \"value\": 1\r\n },\r\n \"Qty\":\r\n {\r\n \t\"value\": 5\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Bill?$select=ReferenceNbr,Details/POOrderNbr,Details/POOrderNbr,Details/InventoryID,Details/Qty&$expand=Details", + "host": [ + "{{EndpointURL}}Bill" + ], + "query": [ + { + "key": "$select", + "value": "ReferenceNbr,Details/POOrderNbr,Details/POOrderNbr,Details/InventoryID,Details/Qty" + }, + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create an AP bill for a particular line of a purchase order in Acumatica ERP. This process is described in [Create a Bill for Particular Lines of a Purchase Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a1116acb-66aa-4415-8148-5bbab45b0a50)." + }, + "response": [] + }, + { + "name": "Create a Bill for Particular Lines of a Purchase Receipt", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Vendor is OFFICEUP\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Vendor.value).to.eql('OFFICEUP');\r", + "});\r", + "pm.test(\"Bill has one detail line\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", + "});\r", + "pm.test(\"Qty of detail line is 5\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Qty.value).to.eql(15);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Bill with Tax Parameters Overridden\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "ec71703e-8481-4b2e-b366-70a235321870", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"Vendor\": {\r\n \"value\": \"OFFICEUP\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"123\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Bill for particular lines of a purchase receipt\"\r\n },\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\r\n \"value\": \"000001\"\r\n },\r\n \"POReceiptLine\": {\r\n \"value\": 1\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Bill?$select=ReferenceNbr,Details/POReceiptNbr,Details/InventoryID,Details/Qty&$expand=Details", + "host": [ + "{{EndpointURL}}Bill" + ], + "query": [ + { + "key": "$select", + "value": "ReferenceNbr,Details/POReceiptNbr,Details/InventoryID,Details/Qty" + }, + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create an AP bill for a particular line of a purchase receipt in Acumatica ERP. This process is described in [Create a Bill for Particular Lines of a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=dadf0b5e-6ff5-4fb3-b089-60be8c8514b2)." + }, + "response": [] + }, + { + "name": "Create a Bill with Tax Parameters Overridden", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Tax amount for both details is 150\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails[0].TaxAmount.value).to.eql(150);\r", + " pm.expect(jsonResponse.TaxDetails[1].TaxAmount.value).to.eql(150);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Release Retainage\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "//Requests to configure taxes\r", + "var callback = (pm, error, response) => {\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'Tax/PST';\r", + " var requestGetTax = {\r", + " url: url1,\r", + " method: 'GET',\r", + " };\r", + "\r", + " pm.sendRequest(requestGetTax, (error, response) => {\r", + " if(response.code != 200) {\r", + "\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Tax';\r", + " var requestAddTax = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxID\": { \"value\": \"PST\"},\"Description\": {\"value\": \"Tax ID for testing\"},\"TaxType\": {\"value\": \"VAT\"},\"IncludeInVATTaxableTotal\": {\"value\": true},\"ExcludeFromTaxonTaxCalculation\": {\"value\": true},\"TaxAgency\": {\"value\": \"CANADABC\"},\"TaxSchedule\": [{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Input Tax (purchases)\"}},{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Output Tax (sales)\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTax, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var url3 = pm.collectionVariables.get('EndpointURL') + 'TaxCategory';\r", + " var requestAddTaxCategory = {\r", + " url: url3,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxCategoryID\": { \"value\": \"TEST\"},\"Description\": {\"value\": \"Tax category for test\"},\"Details\": [{\"TaxID\": {\"value\": \"CAGST\"}},{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTaxCategory, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax category should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var url4 = pm.collectionVariables.get('EndpointURL') + 'TaxZone';\r", + " var requestAddTaxZone = {\r", + " url: url4,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxZoneID\": { \"value\": \"CANADABC\"},\"ApplicableTaxes\": [{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTaxZone, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax zone should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " }); \r", + " });\r", + " });\r", + " });\r", + " }\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "fd232886-f904-4d3f-9ea0-ca11509d6f6b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Amount\": {\r\n \"value\": 1120.0\r\n },\r\n \"CashDiscountDate\": {\r\n \"value\": \"11/18/2021\"\r\n },\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"Date\": {\r\n \"value\": \"10/18/2021\"\r\n },\r\n \"DueDate\": {\r\n \"value\": \"11/18/2021\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"102021\"\r\n },\r\n \"Status\": {\r\n \"value\": \"Balanced\"\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 120.0\r\n },\r\n \"Terms\": {\r\n \"value\": \"30D\"\r\n },\r\n \"Type\": {\r\n \"value\": \"Bill\"\r\n },\r\n \"Vendor\": {\r\n \"value\": \"AAVENDOR\"\r\n },\r\n \"VendorRef\": {\r\n \"value\": \"test-API22\"\r\n },\r\n \"Description\": {\r\n \"value\": \"test-API\"\r\n },\r\n \"IsTaxValid\": {\r\n \"value\": true\r\n },\r\n \"Details\": [\r\n {\r\n \"Account\": {\r\n \"value\": \"50000\"\r\n },\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"CostCode\": {\r\n \"value\": null\r\n },\r\n \"ExtendedCost\": {\r\n \"value\": 1000.0\r\n },\r\n \"Project\": {\r\n \"value\": \"X\"\r\n },\r\n \"Subaccount\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxCategory\": {\r\n \"value\": \"TEST\"\r\n }\r\n }\r\n ],\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": {\r\n \"value\": \"CAGST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"ExpenseAmount\": {\r\n \"value\": 0.0\r\n }\r\n },\r\n {\r\n \"TaxID\": {\r\n \"value\": \"PST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"custom\": {\r\n \"Taxes\": {\r\n \"CuryExpenseAmt\": {\r\n \"type\": \"CustomDecimalField\",\r\n \"value\": 70\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"CANADABC\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Bill?$expand=Details,TaxDetails", + "host": [ + "{{EndpointURL}}Bill" + ], + "query": [ + { + "key": "$expand", + "value": "Details,TaxDetails" + } + ] + }, + "description": "This example shows how to create an AP bill for which system taxes are overridden. This process is described in [Create a Bill with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b5e17d52-f113-438c-a203-c5ce85f7f52f)." + }, + "response": [] + }, + { + "name": "Approve a Bill", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "if (pm.response.code === 204) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the bill should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Bill status is Balanced\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Balanced');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = \"johnson\";\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "f4469fa0-f056-4648-8964-392dbe022e8d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": {\r\n \"Type\": {\"value\": \"Bill\"},\r\n \"ReferenceNbr\": {\"value\": \"000159\"}\r\n },\r\n \"parameters\": {}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Bill/Approve", + "host": [ + "{{EndpointURL}}Bill" + ], + "path": [ + "Approve" + ] + }, + "description": "This example shows how to approve a bill in Acumatica ERP. This process is described in [Approve a Bill](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d2501c01-f3da-45be-b056-2143b31f98e0)." + }, + "response": [] + }, + { + "name": "Release Retainage", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " { \r", + " var url = pm.collectionVariables.get('EndpointURL') + \"Bill/Bill/000072?$expand=RetainageDocuments\";\r", + " var requestBill = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestBill, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the bill should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Bill contains at least one retainage document\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.RetainageDocuments).length.to.be.greaterThanOrEqual(1);\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Retrieve the List of Business Accounts\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "22fac706-f45e-419d-8062-70271d6fd199", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "PX-CbApiBusinessDate", + "value": "2026/04/01", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": {\r\n \"Type\": {\r\n \"value\": \"Bill\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"000072\"\r\n }\r\n },\r\n \"parameters\": {\r\n \"Date\": {\r\n \"value\": \"2026-03-01T11:00:00.000Z\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"032026\"\r\n },\r\n \"AmtToRelease\": {\r\n \"value\": 500\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Bill/ReleaseRetainage", + "host": [ + "{{EndpointURL}}Bill" + ], + "path": [ + "ReleaseRetainage" + ] + }, + "description": "This example shows how to create a retainage document in Acumatica ERP. This process is described in [Release Retainage](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=08780d31-7ad7-4f6f-9c54-2e12a9533116)." + }, + "response": [] + } + ], + "id": "70f2276c-6993-4b50-91a1-976da725911c", + "description": "This folder contains requests that use the [Bill](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=74a426d9-d4f7-4005-ba45-d88817d62dff) entity." + }, + { + "name": "BillOfMaterial", + "item": [ + { + "name": "Create a Bill of Material", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Operations are not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Operations).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Retrieve the Bills of Material');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "1b0191b2-2586-44ae-b4a4-9e270bf2130c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{ \r\n \"BOMID\": { \r\n \"value\": \"\" \r\n },\r\n \"Description\": {\r\n\t \"value\": \"Test BOM\"\r\n\t},\r\n \"InventoryID\": {\r\n \"value\": \"CABINET\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"Material\" :[\r\n {\r\n \"InventoryID\": {\r\n \"value\": \"HINGE\"\r\n },\r\n \"UOM\":{\r\n \"value\": \"EA\"\r\n } \r\n }\r\n ]\r\n }\r\n\t\t],\r\n \"Revision\": {\r\n \"value\": \"A\"\r\n }\r\n}" + }, + "url": { + "raw": "{{ManufacturingEndpointURL}}BillOfMaterial?$expand=Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools", + "host": [ + "{{ManufacturingEndpointURL}}BillOfMaterial" + ], + "query": [ + { + "key": "$expand", + "value": "Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools" + } + ] + }, + "description": "This example shows how to create a bill of material. This process is described in [Create a Bill of Material](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3132bec8-c1e3-48f9-b6c3-80662fe9fe27)." + }, + "response": [] + }, + { + "name": "Retrieve the Bills of Material", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"First BOMID is BOM000001\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].BOMID.value).to.be.eql('BOM000001');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Details of Bill of Material's Operations\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "8296d1f3-80cf-4922-b6f5-52f83433c886", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{ManufacturingEndpointURL}}BillOfMaterial?$expand=Operations", + "host": [ + "{{ManufacturingEndpointURL}}BillOfMaterial" + ], + "query": [ + { + "key": "$expand", + "value": "Operations" + } + ] + }, + "description": "This example shows how to retrieve all available bills of material. This process is described in [Retrieve the Bills of Material](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=58a2b2bd-88fa-4d26-a55a-62fd8f3309c1)." + }, + "response": [] + }, + { + "name": "Retrieve the Details of Bill of Material's Operations", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Material is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Operations[0].Material).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "ab631335-8a33-43c3-bdf4-660c54a8b617", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [], + "url": { + "raw": "{{ManufacturingEndpointURL}}BillOfMaterial/BOM000001/A?$expand=Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools", + "host": [ + "{{ManufacturingEndpointURL}}BillOfMaterial" + ], + "path": [ + "BOM000001", + "A" + ], + "query": [ + { + "key": "$expand", + "value": "Operations,Operations/Material,Operations/Overheads,Operations/Steps,Operations/Tools" + } + ] + }, + "description": "This example shows how to retrieve the details of the operations of a bill of material. This process is described in [Retrieve the Details of Bill of Material's Operations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=981a9fe7-82b9-4667-ae8f-b0ed72fe2ed6)." + }, + "response": [] + } + ], + "id": "4fe3d230-9d18-4042-b029-bc10fa1524ad", + "description": "This folder contains requests that use the [BillOfMaterial](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a3d65aae-9011-4159-878b-a35872532083) entity." + }, + { + "name": "BusinessAccount", + "item": [ + { + "name": "Retrieve the List of Business Accounts", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One business account is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"The first account's activity list is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].Activities).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Companies' Structure\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e07a5d10-609b-49f6-afa6-de92d2874b3e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}BusinessAccount?$expand=Activities,Campaigns,Cases,Orders&$filter=BusinessAccountID eq 'ABAKERY'", + "host": [ + "{{EndpointURL}}BusinessAccount" + ], + "query": [ + { + "key": "$expand", + "value": "Activities,Campaigns,Cases,Orders" + }, + { + "key": "$filter", + "value": "BusinessAccountID eq 'ABAKERY'" + } + ] + }, + "description": "This example shows the retrieval of business accounts, which is described in [Retrieve the List of Business Accounts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=010531ea-dce0-4442-bce5-809e4e52afa8)." + }, + "response": [] + } + ], + "id": "33b80ee3-bc9f-48a5-a307-465a1a8a9c92", + "description": "This folder contains requests that use the [BusinessAccount](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e097d567-249a-4ec2-8891-016578a15f50) entity." + }, + { + "name": "Case", + "item": [ + { + "name": "Create a Case", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Contact is Beverly Hail\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ContactDisplayName.value).to.eql('Beverly Hail');\r", + " pm.collectionVariables.set('caseEntityID', jsonResponse.id);\r", + "});\r", + "//Sign out and the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Case\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "9a41fd9a-7da5-4247-a6e8-fb02188ce550", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ClassID\": {\"value\": \"JREPAIR\"},\r\n \"BusinessAccount\": {\"value\": \"ABAKERY\"},\r\n \"ContactID\": {\"value\": \"100211\"},\r\n \"Subject\": {\"value\": \"Some Subject\"},\r\n \"custom\": {\r\n \"Case\": {\r\n \"AttributeMODEL\": {\r\n \"value\": \"JUICER15:Commercial juicer with a prod rate of 1.5 l per min\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Case?$expand=Attributes", + "host": [ + "{{EndpointURL}}Case" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes" + } + ] + }, + "description": "This example shows the creation of a case, which is described in [Create a Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a9a35cac-f845-4d4b-a47d-107ec2cd4322)." + }, + "response": [] + }, + { + "name": "Link a Case to Another Case", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Related case is 000004\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.RelatedCases[0].CaseID.value).to.eql('000004');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Customer\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "eff71bdd-4c5d-46ce-86c5-3cf72d6790f6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"ClassID\": {\r\n \"value\": \"SERVCONS\"\r\n },\r\n \"BusinessAccount\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Subject\": {\r\n \"value\": \"Billing plan\"\r\n },\r\n \"RelatedCases\": [\r\n {\r\n \"CaseID\": {\r\n \"value\": \"000004\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Case?$expand=RelatedCases", + "host": [ + "{{EndpointURL}}Case" + ], + "query": [ + { + "key": "$expand", + "value": "RelatedCases" + } + ] + }, + "description": "This example shows how to create a case that relates to another case in Acumatica ERP. This process is described in [Linking of a Case to Another Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=adea49ab-d958-4dd2-95aa-70e078564b07)." + }, + "response": [] + } + ], + "id": "1fe6bf81-1f6f-41b9-a261-9ce3dbe47924", + "description": "This folder contains requests that use the [Case](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3cb9b4b1-8c78-4b16-a026-c55a11953e00) entity." + }, + { + "name": "CompaniesStructure", + "item": [ + { + "name": "Retrieve the Companies' Structure", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Six branches are returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Results).to.has.lengthOf(6);\r", + "});\r", + "pm.test(\"One of the branches is HEADOFFICE\", function (){\r", + " pm.expect(pm.response.text()).to.include(\"HEADOFFICE\");\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Contact with Attributes\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "5626c7f8-4636-408d-ba9e-4d64a3a532c9", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{}" + }, + "url": { + "raw": "{{EndpointURL}}CompaniesStructure?$expand=Results", + "host": [ + "{{EndpointURL}}CompaniesStructure" + ], + "query": [ + { + "key": "$expand", + "value": "Results" + } + ] + }, + "description": "This example shows how to retrieve available companies and branches. This process is described in [Retrieve the Companies' Structure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d8d9b99f-019c-410c-a49e-d90a5b813809)." + }, + "response": [] + } + ], + "id": "c995564b-ec3c-4e44-b37b-c95d769c3494", + "description": "This folder contains requests that use the [CompaniesStructure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6e0f2b89-a66f-403a-af79-a87d2b31c735) entity." + }, + { + "name": "ConfigurationEntry", + "item": [ + { + "name": "Retrieve a Configuration Entry", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "a2bc5907-c914-4536-8a7c-6b7f1416aa20", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{ManufacturingEndpointURL}}ConfigurationEntry/AMC000001?$expand=Attributes,Features/Options", + "host": [ + "{{ManufacturingEndpointURL}}ConfigurationEntry" + ], + "path": [ + "AMC000001" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes,Features/Options" + } + ] + } + }, + "response": [] + }, + { + "name": "Update a Configuration Entry", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "e5926965-0f99-40bf-be9d-5982f9abaef9", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + }, + { + "key": "Accept", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ProdOrderNbr\": {\"value\": \"AM000022\"},\r\n \"ProdOrderType\": {\"value\": \"RO\"},\r\n \"ConfigResultsID\": {\"value\": \"5\"},\r\n \"ConfigurationID\": {\"value\": \"AMC000003\"},\r\n \"Features\": [\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Options\": [\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"OptionLineNbr\": { \"value\": 1 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Included\": { \"value\": true }\r\n },\r\n {\r\n \"FeatureLineNbr\": { \"value\": 1 },\r\n \"OptionLineNbr\": { \"value\": 2 },\r\n \"ConfigResultsID\": { \"value\": \"5\" },\r\n \"Included\": { \"value\": true }\r\n }\r\n ]\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{ManufacturingEndpointURL}}ConfigurationEntry?$expand=Attributes,Features/Options", + "host": [ + "{{ManufacturingEndpointURL}}ConfigurationEntry" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes,Features/Options" + } + ] + } + }, + "response": [] + } + ], + "id": "cfd3d487-b5c9-471b-81eb-7f3fbd3c7fc2", + "description": "This folder contains requests that use the [CompaniesStructure](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6e0f2b89-a66f-403a-af79-a87d2b31c735) entity." + }, + { + "name": "Contact", + "item": [ + { + "name": "Create a Contact with Attributes", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Contact with Edds last name is created\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.LastName.value).to.be.eql('Edds');\r", + "});\r", + "pm.test(\"Contact is active\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Active');\r", + "});\r", + "pm.test(\"Attribute is added\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Attributes[0].AttributeDescription.value).to.be.eql('Interested in');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Deactivate a Contact\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "6e9c92a8-c1e2-467b-bd2d-28b93f2c43ef", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"FirstName\": {\"value\": \"Brent\"},\r\n \"LastName\": {\"value\": \"Edds\"},\r\n \"Email\": {\"value\": \"brent.edds.test27@avantehs.com\"},\r\n \"ContactClass\": {\"value\": \"ENDCUST\"},\r\n \"Attributes\": [\r\n {\r\n \"AttributeID\": {\"value\": \"INTEREST\"},\r\n \"Value\": {\"value\": \"Jam,Maint\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Contact?$expand=Attributes", + "host": [ + "{{EndpointURL}}Contact" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes" + } + ] + }, + "description": "This example shows the creation of a contact with attributes, which is described in [Create a Contact with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=832734ca-ea2a-4ff8-8a91-c263927c8286)." + }, + "response": [] + }, + { + "name": "Deactivate a Contact", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Contact with Edds last name is retrieved\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.LastName.value).to.be.eql('Edds');\r", + "});\r", + "pm.test(\"Contact is inactive\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Inactive');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Contacts\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "1cfc52f9-9bf3-42a1-8435-e5c1c4633432", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"Active\": {\"value\": false}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Contact?$filter=FirstName eq 'Brent' and LastName eq 'Edds'", + "host": [ + "{{EndpointURL}}Contact" + ], + "query": [ + { + "key": "$filter", + "value": "FirstName eq 'Brent' and LastName eq 'Edds'" + } + ] + }, + "description": "This example shows the activation of a contact, which is described in [Activate a Contact](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=77e8d81b-5495-44d4-82fb-e9f2e3887aea)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Contacts", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One contact is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Contact with Kelly last name is retrieved\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].LastName.value).to.be.eql('Kelly');\r", + "});\r", + "pm.test(\"Opportunities list is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].Opportunities).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Link Multiple Contacts to a Customer\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "fbc0ea1c-e7c7-41b7-a2b1-ff1a9e6f2537", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Contact?$expand=Activities,Address,Attributes,Campaigns,Cases,Notifications,Opportunities&$filter=ContactID eq 100073", + "host": [ + "{{EndpointURL}}Contact" + ], + "query": [ + { + "key": "$expand", + "value": "Activities,Address,Attributes,Campaigns,Cases,Notifications,Opportunities" + }, + { + "key": "$filter", + "value": "ContactID eq 100073" + } + ] + }, + "description": "This example shows the retrieval of contacts, which is described in [Retrieve the List of Contacts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cc4852c3-abc9-4619-a355-183647c94948)." + }, + "response": [] + }, + { + "name": "Link Multiple Contacts to a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "var url = pm.collectionVariables.get('EndpointURL') + 'Customer/ABAKERY?$expand=Contacts';\r", + "var requestABAKERY = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestABAKERY, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for ABAKERY should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"The customer has at least two contacts\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Contacts).length.gte(2);\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest(\"Create an Employee\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "f1dccaf5-7137-41ef-9f34-73505062c0e3", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"BusinessAccount\": {\"value\": \"ABAKERY\"},\r\n \"ContactID\": {\"value\": 100196},\r\n \"LastName\": {\"value\": \"Doe\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Contact", + "host": [ + "{{EndpointURL}}Contact" + ] + }, + "description": "This example shows how to links multiple contacts to a customer, which is described in [Link Multiple Contacts to a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=47f2d6fe-b9b8-44ca-961f-37b4935bad24)." + }, + "response": [] + } + ], + "id": "b4a22083-aab0-4ae5-b044-be6c77938775", + "description": "This folder contains requests that use the [Contact](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=90132644-1859-4e07-b35b-ad0575c2c6fc) entity." + }, + { + "name": "Customer", + "item": [ + { + "name": "Create a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Customer ID is CUST01\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('CUST01');\r", + " pm.collectionVariables.set('customerEntityID', jsonResponse.id);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Customer\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "42f80a17-a9ac-41b3-89d1-4d98da8f26b6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"Cust01\"},\r\n \"CustomerName\": {\"value\": \"Custumer 01\"},\r\n \"CustomerClass\": {\"value\": \"DEFAULT\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer", + "host": [ + "{{EndpointURL}}Customer" + ] + }, + "description": "This example shows the creation of a customer, which is described in [Create a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=51059f24-01f8-4d78-a17b-cc255fe8b8e0)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Customers with Contacts", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The number of customers is more than 1\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).length.to.be.greaterThan(1);\r", + "});\r", + "pm.test(\"The first customer main contact and address are not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].MainContact).to.be.not.empty;\r", + " pm.expect(jsonResponse[0].MainContact.Address).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update a Customer\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "1fc121fa-f9ca-4c8c-9e62-fd933b9c2eb2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Customer?$expand=MainContact,MainContact/Address&$select=CustomerID,CustomerName,CustomerClass,MainContact/Email,MainContact/Phone1,MainContact/Address/AddressLine1,MainContact/Address/AddressLine2,MainContact/Address/City,MainContact/Address/State,MainContact/Address/PostalCode", + "host": [ + "{{EndpointURL}}Customer" + ], + "query": [ + { + "key": "$expand", + "value": "MainContact,MainContact/Address" + }, + { + "key": "$select", + "value": "CustomerID,CustomerName,CustomerClass,MainContact/Email,MainContact/Phone1,MainContact/Address/AddressLine1,MainContact/Address/AddressLine2,MainContact/Address/City,MainContact/Address/State,MainContact/Address/PostalCode" + } + ] + }, + "description": "This example shows the retrieval of all customers along with their contacts in Acumatica ERP, which is described in [Retrieve the List of Customers with Contacts](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=322dc7ce-3e84-437c-a934-375f37ed2f70)." + }, + "response": [] + }, + { + "name": "Update a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Customer ID is C000000003\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('C000000003');\r", + "});\r", + "pm.test(\"Customer class is INTL\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerClass.value).to.eql('INTL');\r", + "});\r", + "pm.test(\"Billing contact email is green@jevy-comp.con\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.BillingContact.Email.value).to.eql('green@jevy-comp.con');\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the Shipping Contact of a Customer\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "43538175-cc97-4f0c-86bc-4bb521f1508b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerClass\": {\"value\": \"INTL\"},\r\n \"BillingContactOverride\": {\"value\": true},\r\n \"BillingContact\": {\r\n \"Email\": {\"value\": \"green@jevy-comp.con\"},\r\n \"Attention\": {\"value\": \"Mr. Jack Green\"},\r\n \"JobTitle\": {\"value\": \"\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer?$expand=MainContact,BillingContact&$filter=MainContact/Email eq 'info@jevy-comp.con'&$select=CustomerID,CustomerClass,BillingContact/Email", + "host": [ + "{{EndpointURL}}Customer" + ], + "query": [ + { + "key": "$expand", + "value": "MainContact,BillingContact" + }, + { + "key": "$filter", + "value": "MainContact/Email eq 'info@jevy-comp.con'" + }, + { + "key": "$select", + "value": "CustomerID,CustomerClass,BillingContact/Email" + } + ] + }, + "description": "This example shows the update of a customer in Acumatica ERP, which is described in [Update a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=87dd5c39-0a0b-4086-8aa5-791657073bbd)." + }, + "response": [] + }, + { + "name": "Enable Currency Overriding and Rate Overriding for a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Currency rate type is SPOT\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('FRUITICO');\r", + " pm.expect(jsonResponse.CurrencyRateType.value).to.eql('SPOT');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "2776c609-0e58-4ba4-b652-3b660b13caf1", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"EnableCurrencyOverride\": {\"value\": true},\r\n \"EnableRateOverride\": {\"value\": true},\r\n \"CurrencyRateType\": {\"value\": \"SPOT\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer", + "host": [ + "{{EndpointURL}}Customer" + ] + }, + "description": "This example shows how to enable the currency overriding and the rate overriding for a customer. This process is described in [Enable the Currency Overriding and the Rate Overriding for a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=34a79e12-3f6d-45a6-936b-654d806af487)." + }, + "response": [] + }, + { + "name": "Retrieve the Shipping Contact of a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One customers is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).has.lengthOf(1);\r", + "});\r", + "pm.test(\"The shipping contact of the ABAKERY customer is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].CustomerID.value).to.eql('ABAKERY');\r", + " pm.expect(jsonResponse[0].ShippingContact).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Assign a Tax Zone to a Customer\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e7c357c3-3a73-412f-b416-ec3647859522", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Customer?$expand=ShippingContact&$filter=CustomerID eq 'ABAKERY'", + "host": [ + "{{EndpointURL}}Customer" + ], + "query": [ + { + "key": "$expand", + "value": "ShippingContact" + }, + { + "key": "$filter", + "value": "CustomerID eq 'ABAKERY'" + } + ] + }, + "description": "This example shows the retrieval of the shipping contact of a customer, which is described in [Retrieve the Shipping Contact of a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a4876ea2-da7f-460f-bb7a-d57a6da4bbb7)." + }, + "response": [] + }, + { + "name": "Assign a Tax Zone to a Customer", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Customer ID is FRUITICO\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CustomerID.value).to.eql('FRUITICO');\r", + "});\r", + "pm.test(\"Tax zone is NYSTATE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxZone.value).to.eql('NYSTATE');\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Lead\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "1f9ef8ab-5eb2-44e1-a03b-1aec403593ad", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"TaxZone\": {\"value\": \"NYSTATE\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Customer?$select=CustomerID,TaxZone", + "host": [ + "{{EndpointURL}}Customer" + ], + "query": [ + { + "key": "$select", + "value": "CustomerID,TaxZone" + } + ] + }, + "description": "This example shows the update of a customer in Acumatica ERP, which is described in [Update a Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=87dd5c39-0a0b-4086-8aa5-791657073bbd)." + }, + "response": [] + } + ], + "id": "5fa0aa68-feca-419e-a30c-69d6f8eb6132", + "description": "This folder contains requests that use the [Customer](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e3e19ea8-4b3e-40e6-954b-1d51e1426062) entity." + }, + { + "name": "DeductionBenefitCode", + "item": [ + { + "name": "Create a Deduction Code", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The deduction code is TST\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.DeductionBenefitCodeID.value).to.be.eql('TST');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "5dd11d95-2ff0-4244-ab4e-4ead009c8968", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"DeductionBenefitCodeID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test deduction\"\r\n },\r\n \"ContributionType\": {\r\n \"value\": \"DED\"\r\n },\r\n \"Active\": {\r\n \"value\": false\r\n },\r\n \"AssociatedWith\": {\r\n \"value\": \"Employee Settings\"\r\n },\r\n \"EmployeeDeduction\": {\r\n \"CalculationMethod\": {\r\n \"value\": \"GRS\"\r\n },\r\n \"Percent\": {\r\n \"value\": 20\r\n },\r\n \"ApplicableEarnings\": {\r\n \"value\": \"TOT\"\r\n }\r\n },\r\n \"GLAccounts\": {\r\n \"DeductionLiabilityAccount\": {\r\n \"value\": \"20000\"\r\n },\r\n \"DeductionLiabilitySub\": {\r\n \"value\": \"000000\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}DeductionBenefitCode", + "host": [ + "{{EndpointURL}}DeductionBenefitCode" + ] + }, + "description": "This example shows how to create a deduction code in Acumatica ERP. This process is described in [Create a Deduction Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a459adbc-562f-421e-8d41-1445e9942452)." + }, + "response": [] + } + ], + "id": "e6067b21-663c-4730-8551-a04eb743a662", + "description": "This folder contains requests that use the [DeductionBenefitCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4fba7b94-1844-43ae-a257-ac10ee1cfaf4) entity." + }, + { + "name": "EarningTypeCode", + "item": [ + { + "name": "Create an Earning Type Code", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The earning type code is TST\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EarningTypeCodeID.value).to.be.eql('TST');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "f213f87c-83f2-4aaf-8b8e-cc12f6d077c6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EarningTypeCodeID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Code\"\r\n },\r\n \"Category\": {\r\n \"value\": \"Wage\"\r\n },\r\n \"AccrueTimeOff\": {\r\n \"value\": true\r\n },\r\n \"Active\": {\r\n \"value\": false\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EarningTypeCode", + "host": [ + "{{EndpointURL}}EarningTypeCode" + ] + }, + "description": "This example shows how to create an earning type code in Acumatica ERP. This process is described in [Create an Earning Type Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0c0678c5-7b1e-4dcf-b1fd-64823e5ac96d)." + }, + "response": [] + } + ], + "id": "8c254f2e-ae80-44a2-8f38-9c64d58bc6c7", + "description": "This folder contains requests that use the [EarningTypeCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3638c1cf-1210-46f0-b488-7a9b2afdb4a9) entity." + }, + { + "name": "Employee", + "item": [ + { + "name": "Create an Employee", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Employee is Jane Doe\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmployeeName.value).to.be.eql('Jane Doe');\r", + "});\r", + "pm.test(\"Employee is active\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Active');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Information about an Employee\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "c5256acb-d5d4-4075-87d5-9661004b39fd", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Status\": {\"value\": \"Active\"},\r\n \"FinancialSettings\":\r\n {\r\n \"APAccount\": {\"value\": \"20000\"},\r\n \"APSubaccount\": {\"value\": \"000000\"},\r\n \"CashAccount\": {\"value\": \"10200WH\"},\r\n \"ExpenseAccount\": {\"value\": \"63000\"},\r\n \"ExpenseSubaccount\": {\"value\": \"000000\"},\r\n \"PaymentMethod\": {\"value\": \"CHECK\"},\r\n \"PrepaymentAccount\": {\"value\": \"20000\"},\r\n \"PrepaymentSubaccount\": {\"value\": \"000000\"},\r\n \"SalesAccount\": {\"value\": \"40000\"},\r\n \"SalesSubaccount\": {\"value\": \"000000\"},\r\n \"TaxZone\": {},\r\n \"Terms\": {\"value\": \"7D\"}\r\n },\r\n \"EmployeeSettings\":\r\n {\r\n \"BranchID\": {\"value\": \"HEADOFFICE\"},\r\n \"Calendar\": {\"value\": \"MAIN\"},\r\n \"CurrencyID\": {\"value\": \"USD\"},\r\n \"CurrencyRateTypeID\": {\"value\": \"SPOT\"},\r\n \"DepartmentID\": {\"value\": \"AFTERSALES\"},\r\n \"EmployeeClass\": {\"value\": \"EMPHOURLY\"}\r\n },\r\n \"ContactInfo\":\r\n {\r\n \"FirstName\": {\"value\": \"Jane\"},\r\n \"LastName\": {\"value\": \"Doe\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Employee", + "host": [ + "{{EndpointURL}}Employee" + ] + }, + "description": "This example shows the creation of an employee, which is described in [Create an Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f04ea88a-8edf-471b-a7d5-6effb76a5cb6)." + }, + "response": [] + }, + { + "name": "Retrieve Information about an Employee", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One employee is retrieved\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).has.lengthOf(1);\r", + " });\r", + "pm.test(\"Employee is Pam Brawner\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].EmployeeName.value).to.be.eql('Pam Brawner');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Inventory Issue\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "c6418158-0203-42e6-bab9-a0723a42cdac", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Employee?$expand=ContactInfo,Delegates,EmployeeSettings,EmploymentHistory,FinancialSettings&$filter=EmployeeID eq 'EP00000001'", + "host": [ + "{{EndpointURL}}Employee" + ], + "query": [ + { + "key": "$expand", + "value": "ContactInfo,Delegates,EmployeeSettings,EmploymentHistory,FinancialSettings" + }, + { + "key": "$filter", + "value": "EmployeeID eq 'EP00000001'" + } + ] + }, + "description": "This example shows the retrieval of an employee, which is described in [Retrieve Information about an Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=24c23ce4-e0cf-4737-aa18-8286b562b81a)." + }, + "response": [] + } + ], + "id": "b2b8daa8-6c0c-4897-8b98-e4393a9940a5", + "description": "This folder contains requests that use the [Employee](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8745ada9-27bf-4d22-a6e9-aed11c5ca424) entity." + }, + { + "name": "EmployeePayrollClass", + "item": [ + { + "name": "Create an Employee Payroll Class", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The employee payroll class is TESTCLASS\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmployeePayrollClassID.value).to.be.eql('TESTCLASS');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Requests to configure taxes\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'WorkLocation';\r", + " var requestPutWorkLocation = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"WorkLocationID\": { \"value\": \"BELLEVUE\"},\"Active\": {\"value\": true}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutWorkLocation, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for updating work location should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "e11c8677-8879-4251-af8d-f51e0047d175", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EmployeePayrollClassID\": {\r\n \"value\": \"TESTCLASS\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test CLASS\"\r\n },\r\n \"PayrollDefaults\": {\r\n \"EmployeeType\": {\r\n \"value\": \"Hourly\"\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"WEEKLY\"\r\n },\r\n \"DefaultCalendar\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"WorkingWeeksPerYear\": {\r\n \"value\": 51\r\n },\r\n \"OverrideHoursPerYearforCertProject\": {\r\n \"value\": true\r\n },\r\n \"CertifiedProjectHoursperYear\": {\r\n \"value\": 2050\r\n },\r\n \"ExemptFromOvertimeRules\": {\r\n \"value\": true\r\n },\r\n \"NetPayMinimum\": {\r\n \"value\": 150\r\n },\r\n \"MaximumPercentofNetPayforallGarnishments\": {\r\n \"value\": 45\r\n },\r\n \"DefaultWCCCode\": {\r\n \"value\": \"5606\"\r\n },\r\n \"DefaultUnion\": {\r\n \"value\": \"NYS\"\r\n },\r\n \"ExemptFromCertifiedReporting\": {\r\n \"value\": false\r\n },\r\n \"WorkLocations\": [\r\n {\r\n \"LocationID\": {\r\n \"value\": \"BELLEVUE\"\r\n },\r\n \"DefaultWorkLocation\": {\r\n \"value\": true\r\n }\r\n }\r\n ]\r\n },\r\n \"PTODefaults\": [\r\n {\r\n \"PTOBank\": {\r\n \"value\": \"PTO\"\r\n },\r\n \"EffectiveDate\": {\r\n \"value\": \"01/01/2016\"\r\n },\r\n \"Active\": {\r\n \"value\": \"true\"\r\n },\r\n \"AccrualPercent\": {\r\n \"value\": \"7\"\r\n },\r\n \"AccrualLimit\": {\r\n \"value\": \"150\"\r\n },\r\n \"CarryoverType\": {\r\n \"value\": \"Partial\"\r\n },\r\n \"CarryoverAmount\": {\r\n \"value\": \"200\"\r\n },\r\n \"FrontLoadingAmount\": {\r\n \"value\": \"24\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmployeePayrollClass?$expand=PayrollDefaults/WorkLocations,PTODefaults", + "host": [ + "{{EndpointURL}}EmployeePayrollClass" + ], + "query": [ + { + "key": "$expand", + "value": "PayrollDefaults/WorkLocations,PTODefaults" + } + ] + }, + "description": "This example shows how to create an employee payroll class in Acumatica ERP. This process is described in [Create an Employee Payroll Class](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=93a0b773-b2c8-49f1-9860-609031c53575)." + }, + "response": [] + } + ], + "id": "4fa8e6f0-5af1-4a0a-876d-cb354cd951eb", + "description": "This folder contains requests that use the [EmployeePayrollClass](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=84476290-401a-4aec-a8eb-3ac771cbf196) entity." + }, + { + "name": "EmployeePayrollSettings", + "item": [ + { + "name": "Update the Employee Payroll Settings", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The employee is EP00000004\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", + "});\r", + "pm.test(\"The class ID is HOURLY\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ClassID.value).to.be.eql('HOURLY');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "5eb1a47e-961e-400b-a6a4-59e317e7ba7e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"ClassID\": {\r\n \"value\": \"HOURLY\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmployeePayrollSettings", + "host": [ + "{{EndpointURL}}EmployeePayrollSettings" + ] + }, + "description": "This example shows how to update the employee payroll settings in Acumatica ERP. This process is described in [Update the Employee Payroll Settings](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a1fb0dc3-24a3-4cf8-90af-eff672998715)." + }, + "response": [] + }, + { + "name": "Update the Work Locations (Employee Payroll Settings)", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The employee is EP00000004\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", + "});\r", + "pm.test(\"The work location is BELLEVUE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.WorkLocations.WorkLocationDetails[0].LocationID.value).to.be.eql('BELLEVUE');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Requests to configure taxes\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'WorkLocation';\r", + " var requestPutWorkLocation = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"WorkLocationID\": { \"value\": \"BELLEVUE\"},\"Active\": {\"value\": true}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutWorkLocation, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for updating work location should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "35f4f73f-e69d-49ab-a42e-fa69c49dcd91", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"WorkLocations\": {\r\n \"WorkLocationClassDefaults\": {\r\n \"value\": false\r\n },\r\n \"WorkLocationDetails\": [\r\n {\r\n \"LocationID\": {\r\n \"value\": \"BELLEVUE\"\r\n },\r\n \"DefaultWorkLocation\": {\r\n \"value\": false\r\n }\r\n }\r\n ]\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmployeePayrollSettings?$expand=WorkLocations/WorkLocationDetails", + "host": [ + "{{EndpointURL}}EmployeePayrollSettings" + ], + "query": [ + { + "key": "$expand", + "value": "WorkLocations/WorkLocationDetails" + } + ] + }, + "description": "This example shows how to update work locations in employee payroll settings in Acumatica ERP. This process is described in [Employee Payroll Settings: Update Work Locations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=32141c4a-d36c-439d-92ce-b25258455786)." + }, + "response": [] + }, + { + "name": "Specify Employment Records", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The employee is EP00000004\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmployeeID.value).to.be.eql('EP00000004');\r", + "});\r", + "pm.test(\"The position is ACCOUNTANT\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EmploymentRecords[0].Position.value).to.be.eql('ACCOUNTANT');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "5e536d54-0718-4d9f-9e8c-0812cc515ba4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EmployeeID\": {\r\n \"value\": \"EP00000004\"\r\n },\r\n \"EmploymentRecords\": [\r\n {\r\n \"StartDate\": {\r\n \"value\": \"2021-05-13\"\r\n },\r\n \"StartReason\": {\r\n \"value\": \"REH\"\r\n },\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"Position\": {\r\n \"value\": \"ACCOUNTANT\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}EmployeePayrollSettings?$expand=EmploymentRecords", + "host": [ + "{{EndpointURL}}EmployeePayrollSettings" + ], + "query": [ + { + "key": "$expand", + "value": "EmploymentRecords" + } + ] + }, + "description": "This example shows how to specify employment records in employee payroll settings in Acumatica ERP. This process is described in [Employee Payroll Settings: Specify Employment Records](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=34bc77c0-44c3-4097-bd23-a191685dbd28)." + }, + "response": [] + } + ], + "id": "e0ced971-1718-4916-98d4-c895e47f6f1a", + "description": "This folder contains requests that use the [EmployeePayrollSettings](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ff4a9e96-9969-4a48-b244-1f5f7f408e1a) entity." + }, + { + "name": "InventoryIssue", + "item": [ + { + "name": "Create an Inventory Issue", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Inventory issue contains one detail line\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).has.lengthOf(1);\r", + " });\r", + "pm.test(\"Inventory issue total amount is 4.15\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TotalAmount.value).to.be.eql(4.15);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Release an Inventory Issue\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "c08a8349-a75a-45bf-a0c6-1efa8a34149a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Date\": {\r\n \"value\": \"2025-12-02T00:00:00+03:00\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Descr\"\r\n },\r\n \"Details\": [\r\n {\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"ExtCost\": {\r\n \"value\": 0\r\n },\r\n \"ExtPrice\": {\r\n \"value\": 4.15\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"APJAM08\"\r\n },\r\n \"LineNumber\": {\r\n \"value\": 1\r\n },\r\n \"Location\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"Project\": {\r\n \"value\": \"X\"\r\n },\r\n \"Qty\": {\r\n \"value\": 1\r\n },\r\n \"TranType\": {\r\n \"value\": \"Issue\"\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 0\r\n },\r\n \"UOM\": {\r\n \"value\": \"PIECE\"\r\n },\r\n \"Warehouse\": {\r\n \"value\": \"RETAIL\"\r\n }\r\n }\r\n ],\r\n \"PostPeriod\": {\r\n \"value\": \"122025\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}InventoryIssue?$expand=Details", + "host": [ + "{{EndpointURL}}InventoryIssue" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create an inventory issue in Acumatica ERP. This process is described in [Create an Inventory Issue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3caa1091-6324-4b0d-ba5c-56b7ac480665)." + }, + "response": [] + }, + { + "name": "Release an Inventory Issue", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'InventoryIssue/000055?$select=Status';\r", + " var request000055 = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(request000055, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for 000055 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Inventory issue should be released\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Released');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " }\r", + "}\r", + "pm.execution.setNextRequest(\"Retrieve the Available Quantity of an Inventory Item\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "fc28a36c-c606-4e13-bd43-41dc232a3bdc", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": {\r\n \"ReferenceNbr\": {\r\n \"value\": \"000055\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}InventoryIssue/ReleaseInventoryIssue", + "host": [ + "{{EndpointURL}}InventoryIssue" + ], + "path": [ + "ReleaseInventoryIssue" + ] + }, + "description": "This example shows how to release an inventory issue in Acumatica ERP. This process is described in [Release an Inventory Issue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9446583c-62d6-4760-a382-fb5f36aac52b)." + }, + "response": [] + } + ], + "id": "2d08f9f6-059b-4462-9beb-e886c122b6ca", + "description": "This folder contains requests that use the [InventoryIssue](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7a52c24d-f289-442b-919d-89652c581685) entity." + }, + { + "name": "InventoryQuantityAvailable", + "item": [ + { + "name": "Retrieve the Available Quantity of an Inventory Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Results).to.has.lengthOf(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Get an Inventory Summary\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e3c5368b-dd71-4f3c-8a66-2e93189bb928", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\": {\r\n \"value\": \"APJAM08\"\r\n },\r\n \"LastModifiedDateTime\": {\r\n \"value\": \"6/7/2024\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}InventoryQuantityAvailable?$expand=Results", + "host": [ + "{{EndpointURL}}InventoryQuantityAvailable" + ], + "query": [ + { + "key": "$expand", + "value": "Results" + } + ] + }, + "description": "This example shows how to retrieve the available quantity of an inventory item from Acumatica ERP. This process is described in [Retrieve the Available Quantity of an Inventory Item](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3cb31af0-05a3-4d3c-8fda-bfffd65d61a2)." + }, + "response": [] + } + ], + "id": "651acf39-be6b-4042-8723-d3b43a86230f", + "description": "This folder contains requests that use the [InventoryQuantityAvailable](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5ad3515b-f975-4846-9599-a8d418bda1c7) entity." + }, + { + "name": "InventorySummaryInquiry", + "item": [ + { + "name": "Get an Inventory Summary", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Results).to.have.lengthOf(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Invoice with Tax Parameters Overridden\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e86557b9-4ae5-4665-a30e-41a0a1f5df62", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\": { \"value\": \"SIMCARD\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}InventorySummaryInquiry?$expand=Results", + "host": [ + "{{EndpointURL}}InventorySummaryInquiry" + ], + "query": [ + { + "key": "$expand", + "value": "Results" + } + ] + }, + "description": "This example shows the retrieval of the summary information of an inventory item, which is described in [Get an Inventory Summary](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f4e509c6-34cf-4c22-a149-34a25b5a2e30)." + }, + "response": [] + } + ], + "id": "744b69f3-7e21-45a4-b15c-e1da1e1db3f6", + "description": "This folder contains requests that use the [InventorySummaryInquiry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=41906c8c-d0b2-4c44-9495-58d15dbf10ae) entity." + }, + { + "name": "Invoice", + "item": [ + { + "name": "Create an Invoice with Tax Parameters Overridden", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Tax amount for both details is 150\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails[0].TaxAmount.value).to.eql(150);\r", + " pm.expect(jsonResponse.TaxDetails[1].TaxAmount.value).to.eql(150);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Invoices\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "//Requests to configure taxes\r", + "var callback = (pm, error, response) => {\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'Tax/PST';\r", + " var requestGetTax = {\r", + " url: url1,\r", + " method: 'GET',\r", + " };\r", + "\r", + " pm.sendRequest(requestGetTax, (error, response) => {\r", + " if(response.code != 200) {\r", + "\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Tax';\r", + " var requestAddTax = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxID\": { \"value\": \"PST\"},\"Description\": {\"value\": \"Tax ID for testing\"},\"TaxType\": {\"value\": \"VAT\"},\"IncludeInVATTaxableTotal\": {\"value\": true},\"ExcludeFromTaxonTaxCalculation\": {\"value\": true},\"TaxAgency\": {\"value\": \"CANADABC\"},\"TaxSchedule\": [{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Input Tax (purchases)\"}},{\"TaxRate\": {\"value\": 5}, \"ReportingGroup\": {\"value\": \"Output Tax (sales)\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTax, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var url3 = pm.collectionVariables.get('EndpointURL') + 'TaxCategory';\r", + " var requestAddTaxCategory = {\r", + " url: url3,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxCategoryID\": { \"value\": \"TEST\"},\"Description\": {\"value\": \"Tax category for test\"},\"Details\": [{\"TaxID\": {\"value\": \"CAGST\"}},{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTaxCategory, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax category should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var url4 = pm.collectionVariables.get('EndpointURL') + 'TaxZone';\r", + " var requestAddTaxZone = {\r", + " url: url4,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"TaxZoneID\": { \"value\": \"CANADABC\"},\"ApplicableTaxes\": [{\"TaxID\": {\"value\": \"PST\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddTaxZone, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding tax zone should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " }); \r", + " });\r", + " });\r", + " });\r", + " }\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "d7c44c64-d4e9-4734-a876-b296fa2a4ab6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CreatedDateTime\": {\r\n \"value\": \"1900-01-01T03:00:00+03:00\"\r\n },\r\n \"Customer\": {\r\n \"value\": \"AACUSTOMER\"\r\n },\r\n \"Date\": {\r\n \"value\": \"2022-01-23T00:00:00+03:00\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Invoice with Taxes\"\r\n },\r\n \"Details\": [\r\n {\r\n \"Account\": {\r\n \"value\": \"40000\"\r\n },\r\n \"Amount\": {\r\n \"value\": 1000\r\n },\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"ExtendedPrice\": {\r\n \"value\": 1000\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"CONSULTING\"\r\n },\r\n \"LineNbr\": {\r\n \"value\": 1\r\n },\r\n \"ProjectTask\": {},\r\n \"Qty\": {\r\n \"value\": 10\r\n },\r\n \"TransactionDescription\": {\r\n \"value\": \"Project Consulting\"\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 100\r\n },\r\n \"UOM\": {\r\n \"value\": \"HOUR\"\r\n }\r\n }\r\n ],\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"IsTaxValid\": {\r\n \"value\": true\r\n },\r\n \"LocationID\": {\r\n \"value\": \"MAIN\"\r\n },\r\n \"PostPeriod\": {\r\n \"value\": \"012022\"\r\n },\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": {\r\n \"value\": \"CAGST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n },\r\n \"ExpenseAmount\": {\r\n \"value\": 0.0\r\n }\r\n },\r\n {\r\n \"TaxID\": {\r\n \"value\": \"PST\"\r\n },\r\n \"TaxableAmount\": {\r\n \"value\": 1000.0\r\n },\r\n \"TaxAmount\": {\r\n \"value\": 150.0\r\n }\r\n }\r\n ],\r\n \"Type\": {\r\n \"value\": \"Invoice\"\r\n },\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"type\": \"CustomStringField\",\r\n \"value\": \"CANADABC\"\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Invoice?$expand=Details,TaxDetails", + "host": [ + "{{EndpointURL}}Invoice" + ], + "query": [ + { + "key": "$expand", + "value": "Details,TaxDetails" + } + ] + }, + "description": "This example shows how to create an invoice for which system taxes are overridden. This process is described in [Create an Invoice with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=606da1ba-0c1d-4d52-b15f-7a41ef0e2171)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Invoices", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"More than one invoice is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).length.to.be.greaterThan(1);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Release an AR Invoice\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "9f56a7b6-30e5-4cae-b888-a51977cef03a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Invoice", + "host": [ + "{{EndpointURL}}Invoice" + ] + }, + "description": "This example shows the retrieval of invoices, which is described in [Retrieve the List of Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8e0137c4-9828-4d02-91b4-b4599d2d61c8)." + }, + "response": [] + }, + { + "name": "Release an AR Invoice", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " { \r", + " var url = pm.collectionVariables.get('EndpointURL') + \"Invoice/\" + pm.collectionVariables.get('invoiceEntityID');\r", + " var requestInvoice = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestInvoice, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the invoice should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Status is Closed\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Closed');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Specify the Tax Zone for an Invoice\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Request to create invoice\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Invoice';\r", + " var requestAddInvoice = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"Customer\": { \"value\": \"ABAKERY\"},\"Hold\": {\"value\": false}, \"Details\": [{\"InventoryID\": {\"value\":\"CONSULT\"}, \"ExtPrice\": {\"value\": 10}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddInvoice, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for creating invoice should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('invoiceEntityID', jsonResponse.id);\r", + " });\r", + "\r", + "\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "31686165-b0dd-4ad2-9ba8-2336cbb1ba89", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"id\": \"{{invoiceEntityID}}\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Invoice/ReleaseInvoice", + "host": [ + "{{EndpointURL}}Invoice" + ], + "path": [ + "ReleaseInvoice" + ] + }, + "description": "This example shows how to release an AR invoice, which is described in [Release an AR Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=532d3d10-00d3-479e-81a5-f11698357f7c)." + }, + "response": [] + }, + { + "name": "Specify the Tax Zone for an Invoice", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Reference number is 000097\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ReferenceNbr.value).to.be.eql('000097');\r", + "});\r", + "pm.test(\"Tax zone is AVALARA\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.custom.CurrentDocument.TaxZoneID.value).to.be.eql('AVALARA');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Override Values in the Item Warehouse Details\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "5772b02a-a135-4efe-8776-c2a0b935821e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": \"8deb6bf9-2072-eb11-b83e-00155d408001\",\r\n \"custom\": {\r\n \"CurrentDocument\": {\r\n \"TaxZoneID\": {\r\n \"value\": \"AVALARA\"\r\n },\r\n \"DontPrint\": {\r\n \"value\": false\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Invoice?$custom=CurrentDocument.TaxZoneID,CurrentDocument.DontPrint", + "host": [ + "{{EndpointURL}}Invoice" + ], + "query": [ + { + "key": "$custom", + "value": "CurrentDocument.TaxZoneID,CurrentDocument.DontPrint" + } + ] + }, + "description": "This example shows how to specify the tax zone for an invoice, which is described in [Specify the Tax Zone for an Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9b07e681-16ea-4b08-8145-7daee04ef10b)." + }, + "response": [] + } + ], + "id": "71e2f292-ffde-4655-8a82-aaed702b3bf9", + "description": "This folder contains requests that use the [Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=38bf9b1a-8424-46f3-b30c-164502a8ffd9) entity." + }, + { + "name": "ItemWarehouse", + "item": [ + { + "name": "Override Values in the Item Warehouse Details", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Inventory ID is 000097\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.InventoryID.value).to.be.eql('APPLES');\r", + "});\r", + "pm.test(\"MaxQty is 2222\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.MaxQty.value).to.be.eql(2222);\r", + "});\r", + "pm.test(\"ServiceLevel is not 87\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ServiceLevel.value).to.be.not.eql(87);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "b78199c2-9ea3-4cca-ae28-4330e6f574bd", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"OverrideMaxQty\": { \"value\": true },\r\n \"MaxQty\": { \"value\": 2222 },\r\n \"OverridePrice\": { \"value\": false },\r\n \"MSRP\": { \"value\": 600 },\r\n \"OverrideReorderPoint\": { \"value\": true },\r\n \"ReorderPoint\": { \"value\": 14 },\r\n \"ReplenishmentClass\": { \"value\": \"PURCHASE\" },\r\n \"OverrideReplenishmentSettings\": { \"value\": false },\r\n \"ReplenishmentMethod\": { \"value\": \"Min./Max.\" },\r\n \"ReplenishmentSource\": { \"value\": \"Purchase\" },\r\n \"Seasonality\": { \"value\": \"NONE\" },\r\n \"OverrideSafetyStock\": { \"value\": true },\r\n \"SafetyStock\": { \"value\": 244 },\r\n \"PreferredLocation\": { \"value\": \"MAIN\" },\r\n \"PreferredVendor\": { \"value\": \"ALLFRUITS\" },\r\n \"ServiceLevel\": { \"value\": 87 },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}ItemWarehouse", + "host": [ + "{{EndpointURL}}ItemWarehouse" + ] + }, + "description": "This example shows how to specify item warehouse details, mark particular fields as overridden, and set new values of these fields. This process is described in [Override Values in the Item Warehouse Details](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0c8c324e-bc48-4390-a0dc-806cb830a537)." + }, + "response": [] + } + ], + "id": "48f6926d-d553-4262-8bd5-b8d5100414b7", + "description": "This folder contains requests that use the [ItemWarehouse](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=485c4f6c-2da8-4e5c-81ec-eff76709ad3a) entity." + }, + { + "name": "JournalTransaction", + "item": [ + { + "name": "Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Transaction has IsNonPM set to true\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].IsNonPM.value).to.be.eql(true);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Ledgers\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "2006004e-c358-470e-ba8d-862637f22ea1", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Module\" : {\"value\" : \"GL\"},\r\n \"TransactionDate\" : {\"value\" : \"2025-02-15T00:00:00\"},\r\n \"Description\" : {\"value\" : \"Transaction description\"},\r\n \"BranchID\" : {\"value\" : \"HEADOFFICE\"},\r\n \"Details\" : [\r\n \t{\r\n \t\t\"BranchID\" : {\"value\" : \"HEADOFFICE\"},\r\n \t\t\"Account\" : {\"value\" : \"10200\"},\r\n \t\t\"CostCode\" : {\"value\" : \"00000\"},\r\n \t\t\"IsNonPM\" : {\"value\" : true}\r\n \t}\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}JournalTransaction?$expand=Details", + "host": [ + "{{EndpointURL}}JournalTransaction" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create GL transactions with project codes that do not produce project transactions. This process is described in [Create a General Ledger Transaction with a Project Code That Does Not Produce a Project Transaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=682496e3-6498-4855-b33d-a40dbf501b82)." + }, + "response": [] + } + ], + "id": "f0647c89-5caa-4124-b960-d5dcf3997490", + "description": "This folder contains requests that use the [JournalTransaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8a4db230-e31f-411b-b84e-661caf1f0315) entity." + }, + { + "name": "Lead", + "item": [ + { + "name": "Create a Lead", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Email is brent.edds.test27@avantehs.com\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Email.value).to.eql('brent.edds.test27@avantehs.com');\r", + " pm.collectionVariables.set('leadEntityID', jsonResponse.id);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create an Activity that is Linked to a Lead\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "3dad298b-25bf-4e3f-88cf-befc02a0c583", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"FirstName\": {\"value\": \"Brent\"},\r\n \"LastName\": {\"value\": \"Edds\"},\r\n \"Email\": {\"value\": \"brent.edds.test27@avantehs.com\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Lead", + "host": [ + "{{EndpointURL}}Lead" + ] + }, + "description": "This example shows the creation of a lead, which is described in [Create a Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0a505774-5a07-4d95-8d80-6945b8d94a13)." + }, + "response": [] + } + ], + "id": "2f6d02c2-43c5-4058-b0ce-385860acc066", + "description": "This folder contains requests that use the [Lead](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2eb731db-7a6b-4667-a80d-de1fd9906b3b) entity." + }, + { + "name": "Ledger", + "item": [ + { + "name": "Retrieve the List of Ledgers", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Three ledgers are returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(5);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Sales Order from an Opportunity\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "9d17189a-a41a-4ce3-93dc-83728ce552f6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Ledger?$expand=Branches,Companies&$select=LedgerID,Branches/BranchID,Branches/BranchName,Branches/CompanyName,Companies/Company,Companies/CompanyName", + "host": [ + "{{EndpointURL}}Ledger" + ], + "query": [ + { + "key": "$expand", + "value": "Branches,Companies" + }, + { + "key": "$select", + "value": "LedgerID,Branches/BranchID,Branches/BranchName,Branches/CompanyName,Companies/Company,Companies/CompanyName" + } + ] + }, + "description": "This example shows how to retrieve available ledgers, companies, and branches. This process is described in [Retrieve the List of Ledgers](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=33888e9b-c23c-4c05-a87a-231dcf211f59)." + }, + "response": [] + } + ], + "id": "b9686622-9429-4973-b887-bb78b6b0fa14", + "description": "This folder contains requests that use the [Ledger](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ecb27adb-53da-42c9-ab22-e6ffa614a64b) entity." + }, + { + "name": "Opportunity", + "item": [ + { + "name": "Create a Sales Order from an Opportunity", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Opportunity/000011?$expand=Relations';\r", + " var request000009 = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(request000009, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for 000009 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Opportunity relations include sales order\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Relations[1].Type.value).to.be.eql('Sales Order');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " }\r", + "}\r", + "pm.execution.setNextRequest(\"Create a Business Account from an Opportunity\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "fa88fbd2-ea4f-482f-8424-10ab608aa779", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"OpportunityID\": {\"value\":\"000011\"}\r\n },\r\n \"parameters\":{\r\n \"OrdereType\": {\"value\":\"SO\"},\r\n \"RecalculatePricesAndDiscounts\": {\"value\":\"false\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Opportunity/CreateOpportunitySalesOrder", + "host": [ + "{{EndpointURL}}Opportunity" + ], + "path": [ + "CreateOpportunitySalesOrder" + ] + }, + "description": "This example shows the creation of a sales order from an opportunity, which is described in [Create a Sales Order from an Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8954f3cf-bc54-4c27-b04b-713530ad1089)." + }, + "response": [] + }, + { + "name": "Create a Business Account from an Opportunity", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Opportunity/000002?$expand=Relations';\r", + " var request000002 = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(request000002, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for 000002 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Opportunity relations include business account\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Relations[0].Type.value).to.be.eql('Business Account');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " }\r", + "}\r", + "pm.execution.setNextRequest(\"Create a Payment Without an Invoice or a Sales Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "02475cf4-9e64-4ca5-8b50-5673bfa8c99c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": { \"OpportunityID\": {\"value\":\"000002\"},\r\n \"custom\": {\r\n \"AccountInfo\": {\r\n \"BAccountID\": { \"value\": \"11111\" },\r\n \"AccountName\": { \"value\": \"asdqwe\" }\r\n },\r\n \"ContactInfo\": {\r\n \"LastName\": { \"value\": \"test\" }\r\n }\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Opportunity/CreateAccountFromOpportunity", + "host": [ + "{{EndpointURL}}Opportunity" + ], + "path": [ + "CreateAccountFromOpportunity" + ] + }, + "description": "This example shows the creation of a business account from an opportunity, which is described in [Create a Business Account from an Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f14b98ae-4557-4308-8a23-8f72fb6eadbb)." + }, + "response": [] + } + ], + "id": "bc006bb6-8b77-4da3-b1d4-6b2b90bd6b57", + "description": "This folder contains requests that use the [Opportunity](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7a071ddc-e212-407a-9978-24bc65ba2068) entity." + }, + { + "name": "PayGroup", + "item": [ + { + "name": "Create a Pay Group", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The pay group is NEWGROUP\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PayGroupID.value).to.be.eql('NEWGROUP');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "fd56b131-05f3-40b0-a7c5-212d743fb4f1", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"PayGroupID\": {\r\n \"value\": \"NewGroup\"\r\n },\r\n \"PayGroupName\": {\r\n \"value\": \"New Group Name\"\r\n },\r\n \"BenefitExpenseAccount\": {\r\n \"value\": \"69600\"\r\n },\r\n \"BenefitExpenseSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"BenefitLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"BenefitLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"DeductionLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"DeductionLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"EarningsAccount\": {\r\n \"value\": \"51000\"\r\n },\r\n \"EarningsSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxExpenseAccount\": {\r\n \"value\": \"65100\"\r\n },\r\n \"TaxExpenseSub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"TaxLiabilityAccount\": {\r\n \"value\": \"20300\"\r\n },\r\n \"TaxLiabilitySub\": {\r\n \"value\": \"000000\"\r\n },\r\n \"IsDefault\": {\r\n \"value\": false\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PayGroup", + "host": [ + "{{EndpointURL}}PayGroup" + ] + }, + "description": "This example shows how to create a pay group in Acumatica ERP. This process is described in [Create a Pay Group](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1ca369ae-12e2-47d8-8a57-9245efe649a8)." + }, + "response": [] + } + ], + "id": "7ece3b9d-0863-4c7f-a5dd-dd2781af5187", + "description": "This folder contains requests that use the [PayGroup](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=431cd4f5-884d-415d-ab63-7ec8adb23df9) entity." + }, + { + "name": "Payment", + "item": [ + { + "name": "Create a Payment Without an Invoice or a Sales Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Payment amount is correct\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " var amount = pm.collectionVariables.get(\"paymentAmount\");\r", + " pm.expect(jsonResponse.PaymentAmount.value).to.eql(Number(amount));\r", + " pm.collectionVariables.set(\"paymentRefNbr\", jsonResponse.ReferenceNbr.value);\r", + " pm.collectionVariables.set(\"appliedToDocuments\", jsonResponse.PaymentAmount.value);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Payment for an Invoice and a Sales Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e2deb3b1-7fec-4f89-b757-15d558858aab", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CashAccount\": {\"value\": \"10250ST\"},\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Hold\": {\"value\": false},\r\n \"PaymentAmount\": {\"value\": {{paymentAmount}}},\r\n \"Type\": {\"value\": \"Payment\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Payment", + "host": [ + "{{EndpointURL}}Payment" + ] + }, + "description": "This example shows the creation of an AR payment for different document types, which is described in [Create an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b25e527e-8187-485e-9c8e-93aa5c2e8931)." + }, + "response": [] + }, + { + "name": "Create a Payment for an Invoice and a Sales Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Payment is applied to one document and one order\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrdersToApply).to.has.lengthOf(1);\r", + " pm.expect(jsonResponse.DocumentsToApply).to.has.lengthOf(1);\r", + " pm.collectionVariables.set(\"paymentRefNbr\", jsonResponse.ReferenceNbr.value);\r", + " pm.collectionVariables.set(\"appliedToDocuments\", jsonResponse.AppliedToDocuments.value);\r", + " pm.collectionVariables.set(\"appliedToOrders\", jsonResponse.AppliedToOrders.value);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Payment with a Credit Card Transaction Imported from Another System\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "7d3e4b4d-9552-4636-88ae-dd39f5d27e10", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n },\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"CustomerID\": {\r\n \"value\": \"GOODFOOD\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Creating Payment for different doc types\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"CHECK\"\r\n },\r\n \"Type\": {\r\n \"value\": \"Payment\"\r\n },\r\n \"DocumentsToApply\": [\r\n {\r\n \"DocType\": {\r\n \"value\": \"INV\"\r\n },\r\n \"DocLineNbr\": {\r\n \"value\": \"1\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"000002\"\r\n }\r\n }\r\n ],\r\n \"OrdersToApply\": [\r\n {\r\n \"OrderType\": {\r\n \"value\": \"SO\"\r\n },\r\n \"OrderNbr\": {\r\n \"value\": \"000036\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Payment?$expand=OrdersToApply,DocumentsToApply", + "host": [ + "{{EndpointURL}}Payment" + ], + "query": [ + { + "key": "$expand", + "value": "OrdersToApply,DocumentsToApply" + } + ] + }, + "description": "This example shows the creation of an AR payment for different document types, which is described in [Create an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b25e527e-8187-485e-9c8e-93aa5c2e8931)." + }, + "response": [] + }, + { + "name": "Create a Payment with a Credit Card Transaction Imported from Another System", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Payment is Pending Processing\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.eql('Pending Processing');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Release a Payment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "85c625b9-0e08-4c48-a979-0417651afef2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\r\n \"value\": \"HMBAKERY\"\r\n },\r\n \"PaymentAmount\": {\r\n \"value\": 123.0000\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"VISA\"\r\n },\r\n \"CreditCardTransactionInfo\": [\r\n {\r\n \"TranNbr\": {\r\n \"value\": \"112224543839510314532923\"\r\n },\r\n \"TranType\": {\r\n \"value\": \"Authorize Only\"\r\n },\r\n \"NeedsValidation\": {\r\n \"value\": true\r\n },\r\n \"AuthNbr\": {\r\n \"value\": \"ebd4c8\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Payment", + "host": [ + "{{EndpointURL}}Payment" + ] + }, + "description": "This example shows the creation of an AR payment that includes a credit card transaction imported from another system. This example is described in [Create a Payment with a Credit Card Transaction Imported from Another System](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5c4e9c95-bb85-4bba-80ee-75f4d8dfe777)." + }, + "response": [] + }, + { + "name": "Release a Payment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Payment/Payment/' + pm.collectionVariables.get('paymentRefNbr');\r", + " var requestPayment = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestPayment, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the payment should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Payment status is Open\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Open');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Retrieve Payments One by One\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Data for sign-in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Request to remove hold\r", + "var callback = (pm, error, response) => {\r", + " var paymentRefNbr = pm.collectionVariables.get('paymentRefNbr');\r", + " var paymentAmount = pm.collectionVariables.get('appliedToDocuments')+pm.collectionVariables.get('appliedToOrders');\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Payment';\r", + " var requestRemoveHold = {\r", + " url: url,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"Type\": {\"value\": \"Payment\"},\"ReferenceNbr\": {\"value\": \"'+ paymentRefNbr +'\"},\"Hold\" : {\"value\" : \"false\"},\"PaymentAmount\": {\"value\": ' + paymentAmount + '}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestRemoveHold, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for removing from hold should be OK to proceed', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + "}\r", + "//Sign in and remove hold\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)" + ] + } + } + ], + "id": "38dee823-a819-4ebe-8d6e-5948372a777b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\": {\r\n \"Type\": {\r\n \"value\": \"Payment\"\r\n },\r\n \"ReferenceNbr\": {\r\n \"value\": \"{{paymentRefNbr}}\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Payment/Release", + "host": [ + "{{EndpointURL}}Payment" + ], + "path": [ + "Release" + ] + }, + "description": "This example shows how to release an accounts receivable payment in Acumatica ERP. This process is described in [Release an AR Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=709b0321-c44a-4226-a627-3507a93ce1d8).\n\nThis request requires the value of paymentRefNbr, appliedToDocuments, and appliedToOrders collection variables. You can set them manually or by executing the Create an Accouts Receivable Payment for an Invoice and a Sales Order request." + }, + "response": [] + }, + { + "name": "Retrieve Payments One by One", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Payment is 000001\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ReferenceNbr.value).to.eql('000001');\r", + "});\r", + "pm.test(\"Document type is Payment\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Type.value).to.eql('Payment');\r", + "});\r", + "pm.test(\"Payment is applied to invoice\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ApplicationHistory[0].DisplayDocType.value).to.eql('Invoice');\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Payment Method\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "af308d85-5ed7-4e94-97a4-2d651f7ebe2d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Payment/Payment/000001?$select=ReferenceNbr,Type,Status,ApplicationDate,ApplicationHistory/DisplayDocType,ApplicationHistory/DisplayRefNbr&$expand=ApplicationHistory", + "host": [ + "{{EndpointURL}}Payment" + ], + "path": [ + "Payment", + "000001" + ], + "query": [ + { + "key": "$select", + "value": "ReferenceNbr,Type,Status,ApplicationDate,ApplicationHistory/DisplayDocType,ApplicationHistory/DisplayRefNbr" + }, + { + "key": "$expand", + "value": "ApplicationHistory" + } + ] + }, + "description": "This example shows the retrieval of a payment, which is described in [Retrieve Payments One by One](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=02e2a96b-d432-463c-9131-303065dbfa4e)." + }, + "response": [] + } + ], + "id": "af113388-5ce5-4a1b-8e1f-74c4ae5f333b", + "description": "This folder contains requests that use the [Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1e75e399-acaa-4490-aa99-7005906d4ff2) entity." + }, + { + "name": "PaymentMethod", + "item": [ + { + "name": "Create a Payment Method", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"TST payment method has Cash/Check means of payment\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethodID.value).to.eql('TST');\r", + " pm.expect(jsonResponse.MeansOfPayment.value).to.eql('Cash/Check');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Project from a Project Template\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "8342b774-9500-4dac-8cba-ccf701b4e127", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Active\": {\r\n \"value\": false\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Method\"\r\n },\r\n \"IntegratedProcessing\": {\r\n \"value\": false\r\n },\r\n \"MeansOfPayment\": {\r\n \"value\": \"Cash/Check\"\r\n },\r\n \"PaymentMethodID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"SettingsForPR\": {\r\n \"PRProcessing\": {\r\n \"value\": \"Print Checks\"\r\n },\r\n \"Report\": {\r\n \"value\": \"PR641010\"\r\n }\r\n },\r\n \"UseInPR\": {\r\n \"value\": true\r\n },\r\n \"UseInAP\": {\r\n \"value\": false\r\n },\r\n \"UseInAR\": {\r\n \"value\": false\r\n },\r\n \"RequireRemittanceInformationforCashAccount\": {\r\n \"value\": false\r\n },\r\n \"AllowedCashAccounts\": [\r\n {\r\n \"CashAccount\": {\r\n \"value\": \"10200WH\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Company Checking Account\"\r\n },\r\n \"Branch\": {\r\n \"value\": \"HEADOFFICE\"\r\n },\r\n \"APDefault\": {\r\n \"value\": false\r\n },\r\n \"APLastRefNbr\": {\r\n \"value\": \"3202\"\r\n },\r\n \"APSuggestNextNbr\": {\r\n \"value\": false\r\n },\r\n \"UseInPR\": {\r\n \"value\": true\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PaymentMethod?$expand=AllowedCashAccounts", + "host": [ + "{{EndpointURL}}PaymentMethod" + ], + "query": [ + { + "key": "$expand", + "value": "AllowedCashAccounts" + } + ] + }, + "description": "This example shows how to create a payment method in Acumatica ERP. This process is described in [Create a Payment Method](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=22e4e4f7-d3c6-4c81-8110-0d0120cb6a6c)." + }, + "response": [] + } + ], + "id": "20a857d3-30ef-4a46-b991-6e3c7c0e3aa6", + "description": "This folder contains requests that use the [PaymentMethod](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=edc24a65-2e04-4af4-84ab-73ad4cfe1bce) entity." + }, + { + "name": "PayPeriod", + "item": [ + { + "name": "Create a Pay Period Schedule", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Number of periods is 53\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.NumberofPeriods.value).to.be.eql(53);\r", + "});\r", + "pm.test(\"Year is 2025\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Year.value).to.be.eql(\"2025\");\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "be5533c9-b097-4c78-81d8-d9693f2288b9", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"NumberOfPeriods\": {\r\n \"value\": 53\r\n },\r\n \"Override\": {\r\n \"value\": true\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"WEEKLY\"\r\n },\r\n \"Year\": {\r\n \"value\": \"2025\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PayPeriod", + "host": [ + "{{EndpointURL}}PayPeriod" + ] + }, + "description": "This example shows how to create a pay period schedule in Acumatica ERP. This process is described in [Create a Pay Period Schedule](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cee93670-b4be-4b21-a473-beeb180a20c9)." + }, + "response": [] + } + ], + "id": "120d61b6-d505-4029-a3e2-de5e122c069d", + "description": "This folder contains requests that use the [PayPeriod](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9d154c76-804d-48f3-8f33-965aff6dd544) entity." + }, + { + "name": "PayrollBatch", + "item": [ + { + "name": "Create a Payroll Batch", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Status is Balanced\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Balanced');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "ba4d9fde-ca30-495d-aa6e-d7f4378c3f19", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"PayrollType\": {\r\n \"value\": \"Regular\"\r\n },\r\n \"PayGroup\": {\r\n \"value\": \"MONTHLY\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test New Batch\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"PayPeriod\": {\r\n \"value\": \"032024\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PayrollBatch", + "host": [ + "{{EndpointURL}}PayrollBatch" + ] + }, + "description": "This example shows how to create a payroll batch in Acumatica ERP. This process is described in [Create a Payroll Batch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5ef0cd45-418d-496b-8d03-7f2d2a67a52b)." + }, + "response": [] + } + ], + "id": "d62801a7-f9be-48fc-bada-ca644749b590", + "description": "This folder contains requests that use the [PayrollBatch](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2fcc83d9-fc0e-48c7-a79f-7d1f4557d9a0) entity." + }, + { + "name": "PayrollUnionLocal", + "item": [ + { + "name": "Create a Union", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Union is TST\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PayrollUnionLocalID.value).to.be.eql('TST');\r", + "});\r", + "pm.test(\"Vendor is ALLFRUITS\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Vendor.value).to.be.eql('ALLFRUITS');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "d01a9d79-2bdd-4b81-afd2-8e9ad680808c", + "protocolProfileBehavior": { + "disabledSystemHeaders": { + "accept": true + }, + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Active\": { \"value\": false },\r\n \"Description\": { \"value\": \"Test Union\" },\r\n \"PayrollUnionLocalID\": { \"value\": \"TST\" },\r\n \"Vendor\": { \"value\": \"ALLFRUITS\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PayrollUnionLocal", + "host": [ + "{{EndpointURL}}PayrollUnionLocal" + ] + } + }, + "response": [] + } + ], + "id": "a7b584dc-9c4e-4943-9620-e56f2719fc8c", + "description": "This folder contains requests that use the [PayrollUnionLocal](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fe563246-6d9e-4ac0-a852-54be3a30e4dc) entity." + }, + { + "name": "PayrollWCCCode", + "item": [ + { + "name": "Create a Workers' Compensation Class Code", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"WCC codes include 2222\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.WCCCodes[0].WCCCode.value).to.be.eql('2222');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "c6190e99-078e-41e2-aad5-693daa2f860b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Country\": {\r\n \"value\": \"US\"\r\n },\r\n \"WCCCodes\": [\r\n {\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Code\"\r\n },\r\n \"WCCCode\": {\r\n \"value\": \"2222\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PayrollWCCCode?$expand=WCCCodes", + "host": [ + "{{EndpointURL}}PayrollWCCCode" + ], + "query": [ + { + "key": "$expand", + "value": "WCCCodes" + } + ] + }, + "description": "This example shows how to create a workers' compensation class code in Acumatica ERP. This process is described in [Create a Workers' Compensation Class Code](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=4c696993-711f-49a1-940a-08bb50bcb23e)." + }, + "response": [] + } + ], + "id": "1ff24de9-2ec5-4fc0-a8e6-1f27f270eccd", + "description": "This folder contains requests that use the [PayrollWCCCode](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1766e674-3a84-4167-ad23-e931d7f65967) entity." + }, + { + "name": "ProductionOrderDatesProcess", + "item": [ + { + "name": "Update Dates in Production Orders", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Start date is 2024-01-08\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Orders[0].StartDate.value).to.eql('2024-01-08T00:00:00+00:00');\r", + "});\r", + "pm.test(\"End date is 2026-01-30\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Orders[0].EndDate.value).to.eql('2026-01-30T00:00:00+00:00');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "0970a73a-bb64-4347-9d75-4d6e095b7ed7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Orders\": [\r\n {\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2026-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2024-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{ManufacturingEndpointURL}}ProductionOrderDatesProcess?$expand=Orders,Orders/Operations", + "host": [ + "{{ManufacturingEndpointURL}}ProductionOrderDatesProcess" + ], + "query": [ + { + "key": "$expand", + "value": "Orders,Orders/Operations" + } + ] + }, + "description": "This example shows how to update dates in multiple production orders. This process is described in [Update Dates in Production Orders](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=80787b47-28fa-4ce7-b5d5-84a3f843eed7)." + }, + "response": [] + } + ], + "id": "88d39102-3df0-47a5-a61b-f0458c9cfc91", + "description": "This folder contains requests that use the [ProductionOrderDatesProcess](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=50627e8e-aa1c-4bb5-9ed5-85ed48bf1025) entity." + }, + { + "name": "ProductionOrderDetail", + "item": [ + { + "name": "Update Dates in a Production Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"SchedulingMethod is User Dates\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.SchedulingMethod.value).to.eql('User Dates');\r", + "});\r", + "pm.test(\"Start date is 2025-01-08\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.StartDate.value).to.eql('2025-01-08T00:00:00+00:00');\r", + "});\r", + "pm.test(\"End date is 2025-01-30\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.EndDate.value).to.eql('2025-01-30T00:00:00+00:00');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Update Dates in Production Orders');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "867ea683-74af-4e59-a094-5ab749d4c3ae", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"RO\"\r\n },\r\n \"ProductionNbr\": {\r\n \"value\": \"AM000037\"\r\n },\r\n \"SchedulingMethod\": {\r\n \"value\": \"User Dates\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n },\r\n \"Operations\": [\r\n {\r\n \"id\": \"798e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0010\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC70\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n },\r\n {\r\n \"id\": \"838e7128-ac8a-ec11-817b-9b18f6aae9b8\",\r\n \"OperationNbr\": {\r\n \"value\": \"0030\"\r\n },\r\n \"WorkCenter\": {\r\n \"value\": \"WC10\"\r\n },\r\n \"EndDate\": {\r\n \"value\": \"2025-01-30T00:00:00+00:00\"\r\n },\r\n \"StartDate\": {\r\n \"value\": \"2025-01-08T00:00:00+00:00\"\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{ManufacturingEndpointURL}}ProductionOrderDetail?$expand=Operations", + "host": [ + "{{ManufacturingEndpointURL}}ProductionOrderDetail" + ], + "query": [ + { + "key": "$expand", + "value": "Operations" + } + ] + }, + "description": "This example shows how to update dates in a production order and its operations. This process is described in [Update Dates in a Production Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e037f35f-eae8-4e9d-9e2a-7df314d96fcc)." + }, + "response": [] + } + ], + "id": "5942b9ad-afd3-4f60-9f34-f29e8f6be060", + "description": "This folder contains requests that use the [ProductionOrderDetail](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=59c10b4c-44e0-4ba6-a53c-6875be9200db) entity." + }, + { + "name": "ProFormaInvoice", + "item": [ + { + "name": "Send a Pro Forma Invoice by Email", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " { \r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Create a Purchase Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "9ef0dec0-47f7-49fd-931b-c66cb1a8003b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\" : {\r\n \"RefNbr\": {\r\n \"value\": \"{{proFormaReferenceNbr}}\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}ProFormaInvoice/EmailProFormaInvoice", + "host": [ + "{{EndpointURL}}ProFormaInvoice" + ], + "path": [ + "EmailProFormaInvoice" + ] + }, + "description": "This example shows how to send a pro forma invoice by email. This process is described in [Send a Pro Forma Invoice by Email](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a6a0d09a-e695-4b25-a639-2cea565613f8).\n\nThis request requires the value of proFormaReferenceNbr collection variable. You can set it manually or by executing the Retrieve the List of Pro Forma Invoices of a Project request." + }, + "response": [] + } + ], + "id": "ea007111-61ea-4e82-adeb-dc07ac030e38", + "description": "This folder contains requests that use the [ProFormaInvoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7993b042-713d-4d4e-806c-5840aa2d7dea) entity." + }, + { + "name": "Project", + "item": [ + { + "name": "Create a Project from a Project Template", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Project has TESTPR3 ID\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ProjectID.value).to.eql('TESTPR3');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Make a Project Active\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "6bb4e070-9517-4aa6-8042-5d1ce9dc11e0", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"ProjectTemplateID\" : {\"value\" : \"PROGRESS\"},\r\n \"Customer\" : {\"value\" : \"COFFEESHOP\"},\r\n \"BillingAndAllocationSettings\" :\r\n {\r\n \"BillingRule\" : {\"value\" : \"PROGRESS\"},\r\n \"BillingPeriod\" : {\"value\" : \"Month\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Project", + "host": [ + "{{EndpointURL}}Project" + ] + }, + "description": "This example shows how to create from a project template. This process is described in [Create a Project from a Project Template](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=13f5f5b8-33d1-40d9-83db-3f3dfc5dcba9)." + }, + "response": [] + }, + { + "name": "Make a Project Active", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Project is active\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.eql('Active');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Specify the Next Billing Date for a Project\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "925d6f50-9dad-41ae-adef-02cffab45e6e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"Hold\" : {\"value\" : false}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Project", + "host": [ + "{{EndpointURL}}Project" + ] + }, + "description": "This example shows how to make a project active. This process is described in [Make a Project Active](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0d018113-1e33-49f7-be22-8e40db5475c3)." + }, + "response": [] + }, + { + "name": "Specify the Next Billing Date for a Project", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Next billing date is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.BillingAndAllocationSettings.NextBillingDate.value).to.be.not.empty;\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve a Project Task\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "c6aee13c-f1a9-4bbc-9055-c233b29b6248", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"BillingAndAllocationSettings\" : \r\n {\r\n \"NextBillingDate\" : {\"value\" : \"2025-06-15\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Project?$expand=BillingAndAllocationSettings", + "host": [ + "{{EndpointURL}}Project" + ], + "query": [ + { + "key": "$expand", + "value": "BillingAndAllocationSettings" + } + ] + }, + "description": "This example shows how to specify the next billing date for a project. This process is described in [Specify the Next Billing Date for a Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9b596bda-520a-4baf-ab93-687a67f3879e)." + }, + "response": [] + }, + { + "name": "Invoke Project Billing", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " { \r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Retrieve the List of Pro Forma Invoices of a Project\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "bd786326-ceea-429b-a420-6bd7e8a68f8d", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\" : {\r\n \"ProjectID\": {\r\n \"value\": \"TESTPR3\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Project/RunProjectBilling", + "host": [ + "{{EndpointURL}}Project" + ], + "path": [ + "RunProjectBilling" + ] + }, + "description": "This example shows the invocation of project billing. This process is described in [Invoke Project Billing](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=13f5f5b8-33d1-40d9-83db-3f3dfc5dcba9)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Pro Forma Invoices of a Project", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One pro forma invoice is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Invoices).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Invoice total is 725\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Invoices[0].InvoiceTotal.value).to.eql(725);\r", + " pm.collectionVariables.set('proFormaReferenceNbr', jsonResponse.Invoices[0].ProFormaReferenceNbr.value);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Send a Pro Forma Invoice by Email\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "b3810667-93f1-48ad-b547-a64ab79e621c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Project/TESTPR3?$expand=Invoices", + "host": [ + "{{EndpointURL}}Project" + ], + "path": [ + "TESTPR3" + ], + "query": [ + { + "key": "$expand", + "value": "Invoices" + } + ] + }, + "description": "This example shows how to retrieve the list of pro forma invoices of a project. This process is described in [Retrieve the List of Pro Forma Invoices of a Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b635dd5f-c787-49a2-a603-38a3371cbda5)." + }, + "response": [] + } + ], + "id": "7df47720-320e-4a7e-88d2-1b8c1e352bbc", + "description": "This folder contains requests that use the [Project](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1d003380-9c62-4542-b01c-66db8bb09b71) entity." + }, + { + "name": "ProjectBudget", + "item": [ + { + "name": "Specify the Progress of a Project Task", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"PHASE1 project task is in planning\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Completed.value).to.eql(25);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Invoke Project Billing\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "e470cbc0-9e0d-4fa2-8a29-e5fae9a86549", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"ProjectTaskID\" : {\"value\" : \"PHASE1\"},\r\n \"ProjectID\" : {\"value\" : \"TESTPR3\"},\r\n \"InventoryID\" : {\"value\" : \"\"},\r\n \"Completed\" : {\"value\" : 25},\r\n \"PendingInvoiceAmount\" : {\"value\" : 725}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}ProjectBudget", + "host": [ + "{{EndpointURL}}ProjectBudget" + ] + }, + "description": "This example shows how to specify the progress of a project task, which is described in [Specify the Progress of a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=06e096c8-c83d-4392-9a90-b83a9acfbc8e)." + }, + "response": [] + } + ], + "id": "316c497f-942a-418a-93fa-8a2f108553e0", + "description": "This folder contains requests that use the [ProjectBudget](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8d596065-ab9a-49d7-b765-a02b30f8d9bd) entity." + }, + { + "name": "ProjectTask", + "item": [ + { + "name": "Retrieve a Project Task", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One project task is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"PHASE1 project task is in planning\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].ProjectTaskID.value).to.eql('PHASE1');\r", + " pm.expect(jsonResponse[0].Status.value).to.eql('In Planning');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Activate a Project Task\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "311e05f1-c719-4a19-9b4d-b771f9b0f037", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}ProjectTask?$filter=ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'", + "host": [ + "{{EndpointURL}}ProjectTask" + ], + "query": [ + { + "key": "$filter", + "value": "ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'" + } + ] + }, + "description": "This example shows the retrieval of a project task, which is described in [Retrieve a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=aa71a74c-9b66-4514-a96d-8530964af759)." + }, + "response": [] + }, + { + "name": "Activate a Project Task", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "\r", + " var url = pm.collectionVariables.get('EndpointURL') + \"ProjectTask?$filter=ProjectID%20eq%20'TESTPR3'%20and%20ProjectTaskID%20eq%20'PHASE1'\";\r", + "var requestTask = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + "};\r", + "pm.sendRequest(requestTask, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for task retrieval should be OK to proceed', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Project task status is Active\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse[0].Status.value).to.be.eql('Active');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "});\r", + "pm.execution.setNextRequest(\"Specify the Progress of a Project Task\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "f9fd1667-a324-4535-98b3-e3eb0519b598", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":\r\n {\r\n \"ProjectID\": {\r\n \"value\": \"TESTPR3\"\r\n },\r\n \"ProjectTaskID\": {\r\n \"value\": \"PHASE1\"\r\n }\r\n },\r\n \"parameters\": {}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}ProjectTask/Activate", + "host": [ + "{{EndpointURL}}ProjectTask" + ], + "path": [ + "Activate" + ] + }, + "description": "This example shows how to activate a project task. This process is described in [Activate a Project Task](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=78d0e5d4-47f3-4c84-bb0a-adcbe0199593)." + }, + "response": [] + } + ], + "id": "1a990bd1-c378-40aa-923f-f8bb7d7acc74", + "description": "This folder contains requests that use the [ProjectTask](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=06221686-e569-47ce-982e-8cabdafd8a80) entity." + }, + { + "name": "PTOBank", + "item": [ + { + "name": "Create a PTO Bank", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"PTO bank ID is TST\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PTOBankID.value).to.be.eql('TST');\r", + "});\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Request to update earning type code\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'EarningTypeCode';\r", + " var requestPutCode = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"EarningTypeCodeID\": { \"value\": \"HL\"},\"EarningTypeCategory\": {\"value\": \"Time Off\"},\"RegularTimeTypeCode\": {\"value\": \"RG\"}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutCode, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for updating earning type code should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "b8df9321-4671-4c4c-aba7-995a1da9a87f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"PTOBankID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test PTO Bank\"\r\n },\r\n \"Active\": {\r\n \"value\": \"false\"\r\n },\r\n \"BankStartDate\": {\r\n \"value\": \"01/01/2019\"\r\n },\r\n \"DisbursingEarningCode\": {\r\n \"value\": \"HL\"\r\n },\r\n \"CreateFinTransactions\": {\r\n \"value\": \"true\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PTOBank", + "host": [ + "{{EndpointURL}}PTOBank" + ] + }, + "description": "This example shows how to create a paid time off (PTO) bank in Acumatica ERP. This process is described in [Create a PTO Bank](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3b1124b1-845c-4b5a-9359-030b67987ad8)." + }, + "response": [] + } + ], + "id": "75468d9e-538c-46d1-a1d0-ad949050fa7c", + "description": "This folder contains requests that use the [PTOBank](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=89510e7c-cc95-48d4-a6b2-79506a7b3c0d) entity." + }, + { + "name": "PurchaseOrder", + "item": [ + { + "name": "Create a Purchase Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Order total is 2.29\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(2.29);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Purchase Order with Tax Details Overridden\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "1d3164b3-d509-484c-b936-62b4e0300e19", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"VendorID\": { \"value\": \"GOODFRUITS\" },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"Details\": [\r\n {\r\n \"BranchID\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"OrderQty\": { \"value\": 1 },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"UOM\": { \"value\": \"LB\" }\r\n }\r\n ],\r\n \"Hold\": { \"value\": false }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseOrder?$expand=Details", + "host": [ + "{{EndpointURL}}PurchaseOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a purchase order, which is described in [Create a Purchase Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=81e5ec25-09f7-421a-8f80-01b6b71d38c9)." + }, + "response": [] + }, + { + "name": "Create a Purchase Order with Tax Details Overridden", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"One tax detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Tax rate is 8.875\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails[0].TaxRate.value).to.eql(8.875);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Purchase Receipt from a Purchase Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "6ff0eb47-9d34-4b9d-bcc4-24f7f10b2f3a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"Details\": [\r\n {\r\n \"BranchID\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APPLES\" },\r\n \"LineType\": { \"value\": \"Goods for IN\" },\r\n \"OrderQty\": { \"value\": 20 },\r\n \"OrderType\": { \"value\": \"RO\" },\r\n \"TaxCategory\": { \"value\": \"TAXABLE\" },\r\n \"UnitCost\": { \"value\": 2.29 },\r\n \"UOM\": { \"value\": \"LB\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ],\r\n \"Hold\": { \"value\": true },\r\n \"IsTaxValid\": { \"value\": true },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"TaxDetails\": [\r\n {\r\n \"TaxableAmount\": { \"value\": 45.8 },\r\n \"TaxAmount\": { \"value\": 0 },\r\n \"TaxID\": { \"value\": \"NYSTATETAX\" },\r\n \"TaxRate\": { \"value\": 0 }\r\n }\r\n ],\r\n \"Terms\": { \"value\": \"30D\" },\r\n \"Type\": { \"value\": \"Normal\" },\r\n \"VendorID\": { \"value\": \"ALLFRUITS\" },\r\n \"VendorTaxZone\": { \"value\": \"NYZONE\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseOrder?$expand=Details,TaxDetails", + "host": [ + "{{EndpointURL}}PurchaseOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,TaxDetails" + } + ] + }, + "description": "This example shows how to create a purchase order for which system taxes are used. This process is described in [Create a Purchase Order with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2f21e62f-ccff-41ea-b6be-434fa46448a0)." + }, + "response": [] + } + ], + "id": "42328935-83d0-408f-9606-76b2435a3d0d", + "description": "This folder contains requests that use the [PurchaseOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=cbc0ce21-c2fe-4965-afed-622c4291b18f) entity." + }, + { + "name": "PurchaseReceipt", + "item": [ + { + "name": "Create a Purchase Receipt from a Purchase Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Total cost is 492.40\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TotalCost.value).to.eql(492.40);\r", + " pm.collectionVariables.set('purchaseReceiptID',jsonResponse.id);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Release a Purchase Receipt\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "7cefb87d-9186-499d-b082-777db293ed79", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"VendorID\": { \"value\": \"PRINTICO\" },\r\n \"Location\": { \"value\": \"MAIN\" },\r\n \"Details\": [\r\n {\r\n \"POOrderNbr\": { \"value\": \"000001\" },\r\n \"POOrderType\": { \"value\": \"Normal\" }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a purchase receipt, which is described in [Create a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a93b5926-d164-4a1b-97fe-a1c46af67ea6)." + }, + "response": [] + }, + { + "name": "Create a Purchase Receipt with Allocations (with Location)", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Two allocation lines in each detail are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(2);\r", + " pm.expect(jsonResponse.Details[1].Allocations).to.has.lengthOf(2);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Purchase Return from a Purchase Receipt Record\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "48b3bc40-7a81-410c-9209-17c1200471a8", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with allocations\"},\r\n \"Details\": [\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"ReceiptQty\": {\"value\": \"2\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"SORT\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n }\r\n ]\r\n },\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM32\"},\r\n \"ReceiptQty\": {\"value\": \"2\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"SORT\"},\r\n \"Qty\": {\"value\": \"1\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows the adding of lines with allocations (with the location) to a purchase receipt, which is described in [Insert Lines with Allocations (with Location) to a PO Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1998826c-ae50-47cc-8c10-0fb05ddc42f2)." + }, + "response": [] + }, + { + "name": "Create a Purchase Receipt with Allocations (with Expiration Date)", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Two allocation lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Expiration date is 2024-04-25\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Allocations[0].LotSerialNbr.value).to.eql('a');\r", + " pm.expect(jsonResponse.Details[0].Allocations[0].ExpirationDate.value).to.eql('2024-04-25T00:00:00+00:00');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "eaccb8e7-39d9-475a-90c0-132855573536", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test receipt with Expiration Date in Allocations\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"ORANGES\"},\r\n \"ReceiptQty\": {\"value\": 2},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"LotSerialNbr\": {\"value\": \"\"},\r\n \"ExpirationDate\": {\"value\": \"\"},\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"a\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-25\"}\r\n },\r\n {\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"b\"},\r\n \"ExpirationDate\": {\"value\": \"2025-04-27\"}\r\n }\r\n ]\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows the adding of lines with allocations (with the expiration date) to a purchase receipt, which is described in [Insert Lines with Allocations (with Expiration Date) to a PO Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=852c5c92-c763-4c0e-b3f5-be6663254611)." + }, + "response": [] + }, + { + "name": "Create a Purchase Return from a Purchase Receipt Record", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Total cost is 240.5\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TotalCost.value).to.eql(240.5);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Purchase Return from a Purchase Receipt\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "75b8d06d-60e7-4df8-90a3-e7bd194b922f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return (one PR line)\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\"value\": \"000016\"},\r\n \"POReceiptLineNbr\": {\"value\": \"1\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a purchase return from a purchase receipt record, which is described in [Create a Purchase Return from a Purchase Receipt Record](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9a4a2d4c-6a81-4b92-a123-e1cfd509f832)." + }, + "response": [] + }, + { + "name": "Create a Purchase Return from a Purchase Receipt", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Total cost is 118.4\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TotalCost.value).to.eql(118.4);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Purchase Return for Particular Items\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "60a78369-385a-4657-9270-512faf1d06ae", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return (all PR lines)\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"POReceiptNbr\": {\"value\": \"000013\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a purchase return from a purchase receipt, which is described in [Create a Purchase Return from a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ded2af68-35ad-4b44-b9ee-5371a8790341)." + }, + "response": [] + }, + { + "name": "Create a Purchase Return for Particular Items", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Total cost is 3\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TotalCost.value).to.eql(3);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Remove a Sales Invoice from Hold\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "60f428c2-5764-4852-b2a5-16f8e0cf248f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Return\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"Description\": {\"value\": \"Test return\"},\r\n \"ProcessReturnWithOriginalCost\": {\"value\": \"True\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APPLES\"},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"ReceiptQty\": {\"value\": \"1\"},\r\n \"ExtendedCost\": {\"value\": \"3\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a purchase return for particular items, which is described in [Create a Purchase Return for Particular Items](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c96f5760-dd88-4003-87eb-1cb68470875d)." + }, + "response": [] + }, + { + "name": "Create a Purchase Receipt in Non-Base Currency", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Currency is EUR\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.CurrencyID.value).to.eql(\"EUR\");\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "//Request to update vendor\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Vendor';\r", + " var requestPutVendor = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"VendorID\": { \"value\": \"GOODFRUITS\"},\"EnableCurrencyOverride\": {\"value\": true},\"EnableRateOverride\": {\"value\": true}, \"CurrencyRateType\": {\"value\": \"SPOT\"}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutVendor, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for creating invoice should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "082cb0ef-f8ef-4f84-ad34-1dc284e434f4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Receipt\"},\r\n \"VendorID\": {\"value\": \"GOODFRUITS\"},\r\n \"CreateBill\": {\"value\": \"False\"},\r\n \"CurrencyID\": {\"value\": \"EUR\"},\r\n \"CurrencyRate\": {\"value\": \"1.2\"},\r\n \"Description\": {\"value\": \"Test receipt in non-base currency and with new cost fields\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APPLES\"},\r\n \"Warehouse\": {\"value\": \"WHOLESALE\"},\r\n \"ReceiptQty\": {\"value\": 1.0},\r\n \"ExpirationDate\": {\"value\": \"2021-04-25\"},\r\n \"UnitCost\": {\"value\": \"111\"},\r\n \"ExtendedCost\": {\"value\": \"333\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ] + }, + "description": "This example shows how to create a purchase receipt in non-base currency. This process is described in [Create a Purchase Receipt in Non-Base Currency](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6177b57c-ed78-47c7-9994-d22dfe2d5507)." + }, + "response": [] + }, + { + "name": "Create a Transfer Receipt with Allocations for a Transfer Order", + "id": "e1c52404-4602-40a0-8b8f-a5487f308856", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\r\n \"value\": \"Transfer Receipt\"\r\n },\r\n \"Warehouse\": {\r\n \"value\": \"RETAIL\"\r\n },\r\n \"Details\": [\r\n {\r\n \"TransferOrderType\": {\r\n \"value\": \"TR\"\r\n },\r\n \"TransferOrderNbr\": {\r\n \"value\": \"000069\"\r\n },\r\n \"TransferOrderLineNbr\": {\r\n \"value\": 1\r\n },\r\n \"TransferShipmentNbr\": {\r\n \"value\": \"000063\"\r\n },\r\n \"ReceiptQty\": {\r\n \"value\": 1\r\n },\r\n \"Allocations\": [\r\n {\r\n \"Location\": {\r\n \"value\": \"JS1\"\r\n },\r\n \"Qty\": {\r\n \"value\": 0.5\r\n }\r\n },\r\n {\r\n \"Location\": {\r\n \"value\": \"JS2\"\r\n },\r\n \"Qty\": {\r\n \"value\": 0.5\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows how to create a transfer receipt with allocations for a transfer order. This process is described in [Create a Transfer Receipt with Allocations for a Transfer Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=24c68cc6-6985-4421-86c9-e29156f3c150)." + }, + "response": [] + }, + { + "name": "Release a Purchase Receipt", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'PurchaseReceipt/' + pm.collectionVariables.get('purchaseReceiptID');\r", + " var requestPurchaseReceipt = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestPurchaseReceipt, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the purchase receipt should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Purchase receipt status is Released\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Released');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Create a Purchase Receipt with Allocations (with Location)\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "1b348759-ae25-4ebf-b436-9dc441f94ec6", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{ \"id\": \"{{purchaseReceiptID}}\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}PurchaseReceipt/ReleasePurchaseReceipt", + "host": [ + "{{EndpointURL}}PurchaseReceipt" + ], + "path": [ + "ReleasePurchaseReceipt" + ] + }, + "description": "This example shows how to release a purchase receipt, which is described in [Release a Purchase Receipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f361b0f2-ef16-423b-83f5-1db4a31a5931).\n\nThis request requires the value of purchaseReceiptID collection variable. You can set it manually or by executing the Create a Purchase Receipt request." + }, + "response": [] + } + ], + "id": "7bcf98a4-0161-4a04-8d0e-4fe6f99dbd8e", + "description": "This folder contains requests that use the [PurchaseReceipt](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=19972ae2-0d5d-45b6-8bec-fc0e2388a9ba) entity." + }, + { + "name": "SalesInvoice", + "item": [ + { + "name": "Remove a Sales Invoice from Hold", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The sales invoice has the Balanced status\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.equal(\"Balanced\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Invoke Release of an Invoice\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "31515e15-8c43-4ab8-9c10-a989f9e42aff", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"ReferenceNbr\": {\"value\": \"INV000046\"},\r\n \"Hold\": {\"value\":false}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice", + "host": [ + "{{EndpointURL}}SalesInvoice" + ] + }, + "description": "This example shows how to release a sales invoice from hold. This process is described in [Release a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=059b3f37-ba97-4c37-8fdd-6e2e5c292b10)." + }, + "response": [] + }, + { + "name": "Invoke Release of an Invoice", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "pm.collectionVariables.set(\"SalesInvoiceStatusUrl\", pm.response.headers.get(\"Location\"));\r", + "//Do not sign out before the next request\r", + "pm.execution.setNextRequest(\"Retrieve the Status of the Release Operation\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "a2dce639-0b93-4b4b-ab95-29a2a65ba96a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"entity\":{\r\n\t\t\"Type\":{\"value\":\"Invoice\"},\r\n\t\t\"ReferenceNbr\":{\"value\":\"INV000046\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}/SalesInvoice/ReleaseSalesInvoice", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "SalesInvoice", + "ReleaseSalesInvoice" + ] + } + }, + "response": [] + }, + { + "name": "Retrieve the Status of the Release Operation", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "if(pm.response.code != 204)\r", + "{\r", + " setTimeout(function(){},10000);\r", + " pm.execution.setNextRequest(\"Retrieve the Status of the Release Operation\");\r", + "}\r", + "else\r", + "{\r", + " //Sign out and set next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " pm.execution.setNextRequest(\"Check the Status of the Sales Invoice\");\r", + "}" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//No need to sign in in this request because the sign-in has been done \r", + "//in Invoke Release of an Invoice. \r", + "//These two requests should be executed in one session." + ] + } + } + ], + "id": "1489bcf5-d60b-4907-959f-fbd72bbe81e2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{BaseURL}}{{SalesInvoiceStatusUrl}}", + "host": [ + "{{BaseURL}}{{SalesInvoiceStatusUrl}}" + ] + } + }, + "response": [] + }, + { + "name": "Check the Status of the Sales Invoice", + "event": [ + { + "listen": "test", + "script": { + "id": "3f056a37-fc5b-4776-ab2f-f2cbae6abe40", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The sales invoice has the Open status\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.equal(\"Open\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Sales Invoice from a Sales Order\");" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + }, + { + "listen": "prerequest", + "script": { + "id": "4d0d4408-d68f-4b9c-a9da-b572e067dd72", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + } + ], + "id": "3b759d48-49a4-4fe0-af4a-d9be8b0bf582", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}/SalesInvoice/Invoice/INV000046?$select=ReferenceNbr,Type,Status", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "SalesInvoice", + "Invoice", + "INV000046" + ], + "query": [ + { + "key": "$select", + "value": "ReferenceNbr,Type,Status", + "uuid": "b421fa36-8a04-4ac4-9891-281a4eccd2a3" + } + ] + } + }, + "response": [] + }, + { + "name": "Create a Sales Invoice from a Sales Order", + "event": [ + { + "listen": "test", + "script": { + "id": "e4c1f5d5-d3ea-416e-8136-51c675f7181b", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Credit Memo\");\r", + "" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + }, + { + "listen": "prerequest", + "script": { + "id": "57573cad-f810-4024-a840-75dcad9dfea8", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + } + ], + "id": "cb4a014e-faef-4eb0-ac45-3b225bfdffe2", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\r\n \"value\": \"CAKEADO\"\r\n },\r\n \"Details\": [\r\n {\r\n \"BranchID\": {\r\n \"value\": \"RETAIL\"\r\n },\r\n \"OrderLineNbr\": {\r\n \"value\": 1\r\n },\r\n \"OrderNbr\": {\r\n \"value\": \"000066\"\r\n },\r\n \"OrderType\": {\r\n \"value\": \"SO\"\r\n },\r\n \"Qty\": {\r\n \"value\": 1.000000\r\n },\r\n \"WarehouseID\": {\r\n \"value\": \"RETAIL\"\r\n }\r\n }\r\n ],\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"Status\": {\r\n \"value\": \"Open\"\r\n },\r\n \"Type\": {\r\n \"value\": \"Invoice\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", + "host": [ + "{{EndpointURL}}SalesInvoice" + ], + "query": [ + { + "key": "$expand", + "value": "Details", + "uuid": "47e70939-3840-479e-904f-69036e53ec6b" + } + ] + }, + "description": "This example shows how to create a sales invoice that will contain sold stock items and ordered service, for which the billing settings will be specified, and to which a payment will be applied. This process is described in [Create a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6acfdb37-9770-4400-ad80-c229b467a649)." + }, + "response": [] + }, + { + "name": "Create a Direct Sales Invoice That Includes a Return", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Three detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(3);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "81b59c40-3cc7-4c8b-af89-379612107154", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"Hold\": {\"value\": false},\r\n \"Details\":\r\n [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"CHERJAM32\"},\r\n \"Qty\": {\"value\": 1},\r\n \"UOM\": {\"value\": \"PIECE\"},\r\n \"LotSerialNbr\": {\"value\": \"JM2502010003\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"BANANAS\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"F2S2\"},\r\n \"Qty\": {\"value\": 5},\r\n \"UOM\": {\"value\": \"LB\"},\r\n \"UnitPrice\": {\"value\": 1},\r\n \"LotSerialNbr\": {\"value\": \"FR200384\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"PEN\"},\r\n \"Location\": {\"value\": \"MAIN\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UnitPrice\": {\"value\": 2},\r\n \"UOM\": {\"value\": \"PIECE\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", + "host": [ + "{{EndpointURL}}SalesInvoice" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create a sales invoice that will contain sold stock items and ordered service, for which the billing settings will be specified, and to which a payment will be applied. This process is described in [Create a Sales Invoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6acfdb37-9770-4400-ad80-c229b467a649)." + }, + "response": [] + }, + { + "name": "Create a Sales Invoice in a Non-Base Currency", + "event": [ + { + "listen": "test", + "script": { + "id": "5249f82f-d796-4f18-b811-7f10b6caaa4d", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Three detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(3);\r", + "});\r", + "pm.test(\"Currency is EUR\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Currency.value).to.be.eql('EUR');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"\");\r", + "" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + }, + { + "listen": "prerequest", + "script": { + "id": "30214884-04f5-49d2-a381-cc56803ed73c", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ], + "type": "text/javascript", + "packages": {}, + "requests": {} + } + } + ], + "id": "1b16a8df-1a70-4d8e-adf0-5f2f08a2adfb", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"FRUITICO\"},\r\n \"Type\": {\"value\": \"Invoice\"},\r\n \"Currency\": {\"value\": \"EUR\"},\r\n \"Hold\": {\"value\": false},\r\n \"Details\":\r\n [\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APJAM96\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Qty\": {\"value\": 2},\r\n \"UOM\": {\"value\": \"JBOX\"},\r\n \"Location\": {\"value\": \"L3R1S2\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"},\r\n \"Location\": {\"value\": \"L1R1S2\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UOM\": {\"value\": \"PIECE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"HEADOFFICE\"},\r\n \"InventoryID\": {\"value\": \"CLEANING\"},\r\n \"Qty\": {\"value\": -1},\r\n \"UOM\": {\"value\": \"HOUR\"}\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", + "host": [ + "{{EndpointURL}}SalesInvoice" + ], + "query": [ + { + "key": "$expand", + "value": "Details", + "uuid": "82b6da99-9a0c-42e6-95ea-ad51146ea28d" + } + ] + }, + "description": "This example shows how to create a sales invoice in a non-default currency. This process is described in [Create a Sales Invoice in a Non-Default Currency](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d72dde27-f3bb-4a71-bc6c-fb9a277d3acb)." + }, + "response": [] + }, + { + "name": "Create a Credit Memo", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Four detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(4);\r", + " pm.collectionVariables.set(\"creditMemoNbr\", jsonResponse.ReferenceNbr.value);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Release of a Credit Memo\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "ceeb10ce-5ccf-44c2-88c9-bc71aab63873", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Hold\": {\"value\": false},\r\n \"Details\": [\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000005\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" }\r\n },\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000008\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" },\r\n \"OrigInvLineNbr\": { \"value\": 1 }\r\n },\r\n {\r\n \"OrigInvNbr\": { \"value\": \"000012\" },\r\n \"OrigInvType\": { \"value\": \"Invoice\" },\r\n \"OrigInvLineNbr\": { \"value\": 2 },\r\n \"Qty\": { \"value\": 50 }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Project\": { \"value\": \"X\" },\r\n \"Type\": { \"value\": \"Credit Memo\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesInvoice?$expand=Details", + "host": [ + "{{EndpointURL}}SalesInvoice" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create a credit memo. This process is described in [Create a Credit Memo](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c3ade0ab-d6d9-450c-b386-9a9aac911e82)." + }, + "response": [] + }, + { + "name": "Release of a Credit Memo", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'SalesInvoice/Credit Memo/' + pm.collectionVariables.get('creditMemoNbr');\r", + " var requestPayment = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestPayment, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the credit memo should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Credit memo status is Open\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Open');\r", + " });\r", + " //Sign out and set the next request\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "pm.execution.setNextRequest(\"Retrieve a List of Sales Orders with Details and Related Shipments\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "81585f7b-8bb7-4def-973e-32a9276e0502", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"entity\":{\r\n\t\t\"Type\": {\"value\": \"Credit Memo\"},\r\n\t\t\"ReferenceNbr\":{\"value\":\"{{creditMemoNbr}}\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}/SalesInvoice/ReleaseSalesInvoice", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "SalesInvoice", + "ReleaseSalesInvoice" + ] + } + }, + "response": [] + } + ], + "id": "4cbf395d-85bc-4e74-8d64-ad4987c83363", + "description": "This folder contains requests that use the [SalesInvoice](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=1ceca4db-c82d-40ee-9f9e-3cca976fd91c) entity." + }, + { + "name": "SalesOrder", + "item": [ + { + "name": "Retrieve a List of Sales Orders with Details and Related Shipments", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.be.not.empty;\r", + "});\r", + "pm.test(\"The first item includes all requested fields\", function () {\r", + " var jsonData = pm.response.json();\r", + " pm.expect(jsonData[0].OrderType.value).to.be.not.null;\r", + " pm.expect(jsonData[0].OrderNbr.value).to.be.not.null;\r", + " pm.expect(jsonData[0].CustomerID.value).to.be.not.null;\r", + " pm.expect(jsonData[0].CustomerOrder.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Date.value).to.be.not.null;\r", + " pm.expect(jsonData[0].OrderedQty.value).to.be.not.null;\r", + " pm.expect(jsonData[0].OrderTotal.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Details[0].InventoryID.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Details[0].OrderQty.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Details[0].UnitPrice.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Shipments[0].InvoiceNbr.value).to.be.not.null;\r", + " pm.expect(jsonData[0].Shipments[0].ShipmentNbr.value).to.be.not.null;\r", + "});\r", + "pm.test(\"Response does not contain CurrencyID\", function () {\r", + " pm.expect(pm.response.text()).to.not.include(\"CurrencyID\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve a List of Sales Orders in Batches\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "724edb44-bc7c-4652-a6a8-4f5da476a614", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Shipments&$filter=CustomerID eq 'C000000003'&$select=OrderNbr,OrderType,CustomerID,CustomerOrder,Details/InventoryID,Details/OrderQty,Details/UnitPrice,Date,OrderedQty,OrderTotal,Shipments/InvoiceNbr,Shipments/ShipmentNbr", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Shipments" + }, + { + "key": "$filter", + "value": "CustomerID eq 'C000000003'" + }, + { + "key": "$select", + "value": "OrderNbr,OrderType,CustomerID,CustomerOrder,Details/InventoryID,Details/OrderQty,Details/UnitPrice,Date,OrderedQty,OrderTotal,Shipments/InvoiceNbr,Shipments/ShipmentNbr" + } + ] + }, + "description": "This example shows the retrieval of a list of sales orders along with their details and related shipments, which is described in [Retrieve a List of Sales Orders with Details and Related Shipments](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2896cb78-c132-43d3-82fd-c9fc0ab0c3cb)." + }, + "response": [] + }, + { + "name": "Retrieve a List of Sales Orders in Batches", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The retrieved list has 4 items\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.have.lengthOf(4);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Sales Order with the Unit of Measure Specified\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "e97a3f76-16f2-4265-8c50-20b846de2bde", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}SalesOrder?$filter=CustomerID eq 'C000000003'&$select=OrderNbr,OrderType,CustomerID,OrderTotal&$top=5&$skip=5", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$filter", + "value": "CustomerID eq 'C000000003'" + }, + { + "key": "$select", + "value": "OrderNbr,OrderType,CustomerID,OrderTotal" + }, + { + "key": "$top", + "value": "5" + }, + { + "key": "$skip", + "value": "5" + } + ] + }, + "description": "This example shows the retrieval of a list of sales orders in batches, which is described in [Retrieve a List of Sales Orders in Batches](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=95b5c819-45b8-481f-b86e-4dafb96972a6)." + }, + "response": [] + }, + { + "name": "Retrieve a Sales Order by the Values of Specific Fields", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The sales order has three detail lines\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.have.lengthOf(1);\r", + " pm.expect(jsonResponse[0].Details).to.have.lengthOf(3);\r", + " jsonResponse[0].Details.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.InventoryID.value === \"CONGRILL\") {pm.collectionVariables.set(\"CONGRILL_detail_ID\",item.id);};\r", + " if (item.InventoryID.value === \"AALEGO500\") {pm.collectionVariables.set(\"AALEGO500_detail_ID\",item.id);}\r", + " }\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update the Detail Lines of a Sales Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "4c183f33-473c-49f2-95ae-6234a7f55a94", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}/SalesOrder?$expand=Details&$filter=OrderType eq 'SO' and CustomerOrder eq 'SO248-563-06'&$select=OrderNbr,OrderType,Details/InventoryID,Details/WarehouseID", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + }, + { + "key": "$filter", + "value": "OrderType eq 'SO' and CustomerOrder eq 'SO248-563-06'" + }, + { + "key": "$select", + "value": "OrderNbr,OrderType,Details/InventoryID,Details/WarehouseID" + } + ] + } + }, + "response": [] + }, + { + "name": "Create a Sales Order with the Unit of Measure Specified", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Detail's UOM is PIECE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].UOM.value).to.eql('PIECE');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Sales Order with a Credit Card Payment');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "98c85a43-fbd9-47a4-8771-7422ab948278", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"OrderQty\": { \"value\": 2 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a sales order with a unit of measure specified, which is described in [Create a Sales Order with the Unit of Measure Specified](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2d5fae3b-463b-4262-bb44-1a9fb571b998)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with a Credit Card Payment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One payment line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Payment method is ACUPAYCC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", + "});\r", + "pm.test(\"Order total is 980\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", + "});\r", + "pm.test(\"Status is Pending Processing\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", + "});\r", + "pm.test(\"PaymentRef is empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].PaymentRef).to.be.empty;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Sales Order with a Captured Credit Card Payment');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "59c83dc1-2f29-4373-85f2-509536926500", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2024-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2024-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2024-05-10T00:00:00\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Payments", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Payments" + } + ] + }, + "description": "This example shows the creation of a sales order with a credit card payment, which is described in [Create a Sales Order with a Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e7d7b4a4-4609-4a68-ac74-5ab9006d80c5)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with a Captured Credit Card Payment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One payment line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Payment method is ACUPAYCC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", + "});\r", + "pm.test(\"Order total is 980\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", + "});\r", + "pm.test(\"Status is Open\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Open');\r", + "});\r", + "pm.test(\"PaymentRef is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Sales Order with an Authorized Credit Card Payment');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "79d2d40c-3e5b-4241-9b25-3253563c9a18", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment (Capture)\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"Capture\": {\"value\": true}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Payments" + } + ] + }, + "description": "This example shows the creation of a sales order with a captured credit card payment, which is described in [Create a Sales Order with a Captured Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d5fd790b-af98-40ae-a008-a92950400305)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with an Authorized Credit Card Payment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One payment line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Payment method is ACUPAYCC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", + "});\r", + "pm.test(\"Order total is 980\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", + "});\r", + "pm.test(\"Status is Pending Processing\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", + "});\r", + "pm.test(\"PaymentRef is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Sales Order with an External Credit Card Payment');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "e6c6a8c7-9620-4a73-ba2d-c93ba978da59", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"Internal CC Payment (Capture)\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"Authorize\": {\"value\": true}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Payments" + } + ] + }, + "description": "This example shows the creation of a sales order with an authorized credit card payment, which is described in [Create a Sales Order with an Authorized Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=d76d89fe-4a65-4a40-98ad-d456edcf3e53)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with an External Credit Card Payment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One payment line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Payment method is ACUPAYCC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", + "});\r", + "pm.test(\"Order total is 980\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(980);\r", + "});\r", + "pm.test(\"Status is Pending Processing\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", + "});\r", + "pm.test(\"PaymentRef is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction')" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "dca426a6-4d60-4564-8813-617b0998904e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"WIDGETCC\"},\r\n \"Date\": {\"value\": \"2023-05-10T00:00:00\"},\r\n \"Description\": {\"value\": \"External CC payment\"},\r\n \"Details\": [\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AACOMPUT01\"},\r\n \"OrderQty\": {\"value\": 1.00},\r\n \"UnitPrice\": {\"value\": 500.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n },\r\n {\r\n \"Branch\": {\"value\": \"PRODWHOLE\"},\r\n \"DiscountAmount\": {\"value\": 10.00},\r\n \"ExtendedPrice\": {\"value\": 500.00},\r\n \"FreeItem\": {\"value\": false},\r\n \"InventoryID\": {\"value\": \"AALEGO500\"},\r\n \"OrderQty\": {\"value\": 50.00},\r\n \"UnitPrice\": {\"value\": 50.00},\r\n \"UOM\": {\"value\": \"EA\"},\r\n \"WarehouseID\": {\"value\": \"WHOLESALE\"}\r\n }\r\n ],\r\n \"Hold\": {\"value\": false},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"},\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"AppliedToOrder\": {\"value\": 480.00},\r\n \"CashAccount\": {\"value\": \"10600\"},\r\n \"CreditCardTransactionInfo\": [\r\n {\r\n \"NeedValidation\": {\"value\": true},\r\n \"TranDate\": {\"value\": \"2023-08-11T00:00:00+03:00\"},\r\n \"TranNbr\": {\"value\": \"40050474170\"},\r\n \"TranType\": {\"value\": \"AUT\"}\r\n }\r\n ],\r\n \"PaymentAmount\": {\"value\": 980.00},\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"}\r\n }\r\n ],\r\n \"PaymentMethod\": {\"value\": \"ACUPAYCC\"},\r\n \"RequestedOn\": {\"value\": \"2023-05-10T00:00:00\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Payments", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Payments" + } + ] + }, + "description": "This example shows the creation of a sales order with an external credit card payment, which is described in [Create a Sales Order with an External Credit Card Payment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=125d6a9c-c92b-4cb9-862b-424a60208edb)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with Tax Parameters Overridden", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"One tax detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxDetails).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Tax total is 0.5\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxTotal.value).to.eql(0.5);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Return for Credit for Items with Lot or Serial Numbers\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "7b355fe1-a7f6-4566-9ee5-1d3bbe97b84a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"IsTaxValid\": { \"value\": true },\r\n \"Details\": [\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"OrderQty\": { \"value\": 2 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ],\r\n \"TaxDetails\": [\r\n {\r\n \"TaxID\": { \"value\": \"NYSTATETAX\" },\r\n \"TaxAmount\": { \"value\": 0.5 }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,TaxDetails", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,TaxDetails" + } + ] + }, + "description": "This example shows how to create a sales order with tax parameters overridden. This process is described in [Create a Sales Order with Tax Parameters Overridden](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=92d74d1d-5571-4852-a12a-bb8d66dc6f73)." + }, + "response": [] + }, + { + "name": "Create a Sales Order with Allocations", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"One allocation line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[0].Allocations).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Order total is 4.52\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(4.52);\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "906ef1f0-f418-4c38-8ca4-7910fadaff0a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": {\"value\": \"COFFEESHOP\"},\r\n \"Description\": {\"value\": \"Sales Order with Allocations\"},\r\n \"Details\": [\r\n {\r\n \"InventoryID\": {\"value\": \"APJAM08\"},\r\n \"Allocations\": [\r\n {\r\n \"SplitLineNbr\": {\"value\": \"1\"},\r\n \"Allocated\": { \"value\": true },\r\n \"AllocWarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"116046\" },\r\n \"Qty\": { \"value\": 1 }\r\n }\r\n ]\r\n }\r\n ],\r\n \"Hold\": {\"value\": true},\r\n \"LocationID\": {\"value\": \"MAIN\"},\r\n \"OrderType\": {\"value\": \"SO\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows how to create a sales order with allocations. This process is described in [Create a Sales Order with Allocations](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=256b7d10-b33e-8ad8-3d03-cd0009e91527)." + }, + "response": [] + }, + { + "name": "Create a Return for Credit for Multiple Invoices", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Order type is RC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderType.value).to.eql('RC');\r", + "});\r", + "pm.test(\"Order total is 317.04\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(317.04);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Sales Order with Tax Parameters Overridden\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "b6117779-2e98-4dd9-9a54-e20361ba6e7b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Description\": { \"value\": \"Return for Credit for Two Invoices\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"000062\" },\r\n \"InventoryID\": { \"value\": \"INSTALL\" }\r\n },\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"000030\" },\r\n \"InventoryID\": { \"value\": \"ORANGES\" },\r\n \"OrderQty\": { \"value\": \"50\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"OrderType\": { \"value\": \"RC\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." + }, + "response": [] + }, + { + "name": "Create a Return for Credit for Items with Lot or Serial Numbers", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Order type is RC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderType.value).to.eql('RC');\r", + "});\r", + "pm.test(\"Order total is 188932.8\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(188932.8);\r", + "});\r", + "pm.collectionVariables.set('RCOrderNbr', pm.response.json().OrderNbr.value);\r", + "pm.collectionVariables.set('RCDetailLineNbr', pm.response.json().Details[1].LineNbr.value);\r", + "pm.collectionVariables.set('RCDetailAllocationLineNbr', \r", + " pm.response.json().Details[1].Allocations[1].LineNbr.value);\r", + "pm.collectionVariables.set('RCDetailAllocationSplitLineNbr', \r", + " pm.response.json().Details[1].Allocations[1].SplitLineNbr.value);\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Update Allocations in a Return for Credit\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "82c00bc0-cd96-4c0f-9eaf-d08e6fe07036", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"MICROCHIP\" },\r\n \"Description\": { \"value\": \"Return for Credit for Items with Lot or Serial Numbers\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"InvoiceLineNbr\": { \"value\": \"2\" },\r\n \"OrderQty\": { \"value\": \"20\" },\r\n \"UOM\": { \"value\": \"EA\" }\r\n },\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"InvoiceLineNbr\": { \"value\": \"3\" },\r\n \"OrderQty\": { \"value\": \"6900\" },\r\n \"UOM\": { \"value\": \"EA\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"OrderType\": { \"value\": \"RC\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." + }, + "response": [] + }, + { + "name": "Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One payment line is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Payment method is ACUPAYCC\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.PaymentMethod.value).to.eql('ACUPAYCC');\r", + "});\r", + "pm.test(\"Order total is 2500\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(2500);\r", + "});\r", + "pm.test(\"Status is Pending Processing\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].Status.value).to.be.eql('Pending Processing');\r", + "});\r", + "pm.test(\"PaymentRef is not empty\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Payments[0].PaymentRef.value).to.be.not.empty;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest('Create an RMA Order for a Return');" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with SalesDemo data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "6a6838bb-c54b-4e18-a5c4-15f3e2225b31", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CurrencyID\": {\r\n \"value\": \"USD\"\r\n },\r\n \"CustomerID\": {\r\n \"value\": \"WIDGETCC\"\r\n },\r\n \"Date\": {\r\n \"value\": \"2023-08-19T00:00:00+03:00\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"Details\": [\r\n {\r\n \"Branch\": {\r\n \"value\": \"PRODWHOLE\"\r\n },\r\n \"InventoryID\": {\r\n \"value\": \"AACOMPUT01\"\r\n },\r\n \"OrderQty\": {\r\n \"value\": 5.000000\r\n },\r\n \"UnitPrice\": {\r\n \"value\": 500.000000\r\n },\r\n \"UOM\": {\r\n \"value\": \"EA\"\r\n },\r\n \"WarehouseID\": {\r\n \"value\": \"WHOLESALE\"\r\n }\r\n }\r\n ],\r\n \"OrderType\": {\r\n \"value\": \"RC\"\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"ACUPAYCC\"\r\n },\r\n \"Payments\": [\r\n {\r\n \"ApplicationDate\": {\r\n \"value\": \"2023-08-19T00:00:00+03:00\"\r\n },\r\n \"AppliedToOrder\": {\r\n \"value\": 40.0000\r\n },\r\n \"CardAccountNbr\": {\r\n \"value\": \"VISA:****-****-****-1111\"\r\n },\r\n \"CashAccount\": {\r\n \"value\": \"10250\"\r\n },\r\n \"Currency\": {\r\n \"value\": \"USD\"\r\n },\r\n \"DocType\": {\r\n \"value\": \"Refund\"\r\n },\r\n \"Hold\": {\r\n \"value\": false\r\n },\r\n \"OrigTransactionNbr\": {\r\n \"value\": \"60165234282\"\r\n },\r\n \"PaymentAmount\": {\r\n \"value\": 40.0000\r\n },\r\n \"PaymentMethod\": {\r\n \"value\": \"ACUPAYCC\"\r\n },\r\n \"PaymentRef\": {\r\n \"value\": \"601704533664\"\r\n },\r\n \"ProcessingCenterID\": {\r\n \"value\": \"ACUPAYMENT\"\r\n },\r\n \"Refund\": {\r\n \"value\": true\r\n },\r\n \"ValidateCCRefundOrigTransaction\": {\r\n \"value\": false\r\n }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Payments", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Payments" + } + ] + }, + "description": "This example shows how to create a return for credit with and without validation of the card refund against the original transaction, which is described in [Create a Return for Credit Without Validation of the Card Refund Against the Original Transaction](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=11c419cf-78ae-41cd-abad-897c00a96a43)." + }, + "response": [] + }, + { + "name": "Create an RMA Order for a Return", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Order type is RM\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderType.value).to.eql('RM');\r", + "});\r", + "pm.test(\"Order total is 30.50\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.OrderTotal.value).to.eql(30.50);\r", + " pm.collectionVariables.set('paymentAmount', jsonResponse.OrderTotal.value);\r", + " pm.collectionVariables.set('RMorderNbr', jsonResponse.OrderNbr.value);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Shipment with the Receipt Operation Type\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Requests to add sales order, shipment, invoice\r", + "var callback = (pm, error, response) => {\r", + " //Add sales order\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", + " var requestAddSO1 = {\r", + " url: url1,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"FRUITICO\"},\"Details\": [{\"InventoryID\": {\"value\": \"SWB-32OZ-GBT\"}, \"OrderQty\": {\"value\": 1}, \"WarehouseID\": {\"value\": \"RETAIL\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddSO1, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('orderID', jsonResponse.id);\r", + " });\r", + "\r", + " //Create shipment for the sales order\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/SalesOrderCreateShipment';\r", + " var orderID = pm.collectionVariables.get('orderID');\r", + " var requestCreateShipment = {\r", + " url: url2,\r", + " method: 'POST',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"entity\" : {\"id\": \"' + orderID + '\"}, \"parameters\" : { \"ShipmentDate\": { \"value\": \"2026-08-20T00:00:00+03:00\" },\"WarehouseID\": { \"value\": \"RETAIL\" }}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestCreateShipment, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " //Check the status of the operation\r", + " if (response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " //Get shipment number\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/' + orderID + '?$expand=Shipments';\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[0].ShipmentNbr.value);\r", + " });\r", + "\r", + " //Confirm shipment\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment/ConfirmShipment';\r", + " var shipmentNbr = pm.collectionVariables.get('shipmentNbr');\r", + " var requestConfirmShipment = {\r", + " url: url2,\r", + " method: 'POST',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"entity\" : {\"Type\" : {\"value\" : \"Shipment\"}, \"ShipmentNbr\": {\"value\" : \"' + shipmentNbr + '\"}}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestConfirmShipment, (error, response) => {\r", + " if (response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunctionX();\r", + " function myFunctionX(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunctionX();\r", + " }\r", + " else\r", + " { \r", + " //Prepare invoice\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment/PrepareInvoice';\r", + " var requestPrepareInvoice = {\r", + " url: url2,\r", + " method: 'POST',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"entity\" : {\"Type\" : {\"value\" : \"Shipment\"}, \"ShipmentNbr\": {\"value\" : \"' + shipmentNbr + '\"}}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPrepareInvoice, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " //Check the status of the operation\r", + " if (response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction3();\r", + " function myFunction3(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction3();\r", + " }\r", + " else\r", + " {\r", + " //Get invoice number for the shipment\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + shipmentNbr + '?$expand=Orders';\r", + " var requestShipment = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestShipment, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the shipment should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('invoiceNbr', jsonResponse.Orders[0].InvoiceNbr.value);\r", + " });\r", + "\r", + " //Release invoice\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesInvoice/ReleaseSalesInvoice';\r", + " var invoiceNbr = pm.collectionVariables.get('invoiceNbr');\r", + " var requestReleaseInvoice = {\r", + " url: url2,\r", + " method: 'POST',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"entity\" : {\"Type\" : {\"value\": \"Invoice\"}, \"ReferenceNbr\": {\"value\" : \"' + invoiceNbr + '\"}}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestReleaseInvoice, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " //Check the status of the operation\r", + " if (response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction4();\r", + " function myFunction4(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction4();\r", + " }\r", + " });\r", + " } \r", + " }\r", + " });\r", + " });\r", + " }\r", + " });\r", + " } \r", + " }\r", + " });\r", + " } \r", + " });\r", + " } \r", + " }\r", + " });\r", + " });\r", + " }\r", + " });\r", + " } \r", + " }\r", + " });\r", + " });\r", + "};\r", + "//Sign in and do prerequesites\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "c39d1894-ea39-4958-9c13-033a549ac7c7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"FRUITICO\" },\r\n \"OrderType\": { \"value\": \"RM\" },\r\n \"Details\": [\r\n {\r\n \"InvoiceType\": { \"value\": \"Invoice\" },\r\n \"InvoiceNbr\": { \"value\": \"{{invoiceNbr}}\" },\r\n \"Operation\": { \"value\": \"Receipt\" },\r\n \"InvoiceLineNbr\": { \"value\": \"1\" },\r\n \"OrderQty\": { \"value\": -1 },\r\n \"AutoCreateIssue\": { \"value\": false }\r\n },\r\n {\r\n \"Branch\": { \"value\": \"HEADOFFICE\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"InventoryID\": { \"value\": \"PEARJAM96\" },\r\n \"OrderQty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" },\r\n \"AutoCreateIssue\": { \"value\": false }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows how to create a sales order of the RM type. This process is described in [Create a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=83c0e442-ce9e-4e57-8a52-b8b22f56fcbe)." + }, + "response": [] + }, + { + "name": "Update the Detail Lines of a Sales Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The sales order has two detail lines\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.have.lengthOf(2);\r", + "});\r", + "pm.test(\"The sales order does not include CONGRILL\", function (){\r", + " pm.expect(pm.response.text()).to.not.include(\"CONGRILL\");\r", + "});\r", + "pm.test(\"The sales order includes 5 AALEGO500 items\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " jsonResponse.Details.forEach(myFunction);\r", + " function myFunction(item){\r", + " if (item.InventoryID.value === 'AALEGO500') {\r", + " pm.expect(item.OrderQty.value).to.eq(5.0);};\r", + " }\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Shipment from a Sales Order\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "13fd65e2-8215-48f8-a0f4-773cbfbc306e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"OrderType\":{\"value\":\"SO\"},\n\t\"OrderNbr\":{\"value\":\"000003\"},\n\t\"Hold\":{\"value\":false},\n\t\"Details\":[\n\t\t{\n\t\t\t\"id\":\"{{CONGRILL_detail_ID}}\",\n\t\t\t\"delete\":true\n\t\t},\n\t\t{\n\t\t\t\"id\":\"{{AALEGO500_detail_ID}}\",\n\t\t\t\"OrderQty\":{\"value\":5.0}\n\t\t}\n\t]\n}" + }, + "url": { + "raw": "{{EndpointURL}}/SalesOrder?$select=OrderType,OrderNbr,OrderedQty,OrderTotal,Details/OrderQty,Details/InventoryID&$expand=Details", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "SalesOrder" + ], + "query": [ + { + "key": "$select", + "value": "OrderType,OrderNbr,OrderedQty,OrderTotal,Details/OrderQty,Details/InventoryID" + }, + { + "key": "$expand", + "value": "Details" + } + ] + } + }, + "response": [] + }, + { + "name": "Update Allocations in a Return for Credit", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two detail lines are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.has.lengthOf(2);\r", + "});\r", + "pm.test(\"Lot serial number 1 is LREX15097\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[1].Allocations[0].LotSerialNbr.value).to.eql('LREX15097');\r", + "});\r", + "pm.test(\"Lot serial number 2 is LREX15098\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details[1].Allocations[1].LotSerialNbr.value).to.eql('LREX15098');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Shipment for Sales Orders\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameSalesDemo');\r", + "var password = pm.collectionVariables.get('PasswordSalesDemo');\r", + "var tenant = pm.collectionVariables.get('TenantSalesDemo');\r", + "var branch = pm.collectionVariables.get('BranchSalesDemo'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "9e986a6f-d6ea-4d52-b19d-de32cfacd2ea", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"OrderNbr\": { \"value\": \"{{RCOrderNbr}}\" },\r\n \"OrderType\": { \"value\": \"RC\" },\r\n \"Details\": [\r\n {\r\n \"InventoryID\": { \"value\": \"FOODTEA06\" },\r\n \"InvoiceNbr\": { \"value\": \"AR013584\" },\r\n \"LineNbr\": { \"value\": {{RCDetailLineNbr}} },\r\n \"Allocations\": [\r\n {\r\n \"LineNbr\": { \"value\": {{RCDetailAllocationLineNbr}} },\r\n \"LotSerialNbr\": { \"value\": \"LREX15098\" },\r\n \"OrderNbr\": { \"value\": \"{{RCOrderNbr}}\" },\r\n \"OrderType\": { \"value\": \"RC\" },\r\n \"SplitLineNbr\": { \"value\": {{RCDetailAllocationSplitLineNbr}} }\r\n }\r\n ],\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder?$expand=Details,Details/Allocations", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations" + } + ] + }, + "description": "This example shows how to create a return order for invoices. This process is described in [Create a Return Order for Invoices](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ec34c7cf-6990-4bf2-9479-1c7a84ffc717)." + }, + "response": [] + }, + { + "name": "Apply Discounts to a Sales Order", + "id": "ee619678-7c48-40aa-b3a5-77d4041e7986", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\" :\r\n {\r\n \"OrderType\" : {\"value\" : \"SO\"},\r\n \"OrderNbr\" : {\"value\" : \"000070\"}\r\n },\r\n \"parameters\":\r\n {\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/AutoRecalculateDiscounts", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "AutoRecalculateDiscounts" + ] + }, + "description": "This example shows the application of discounts to a sales order, which is described in [Apply Discounts to a Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c6ad394e-9e1f-4dc4-ad50-bc4ab988fc1f)." + }, + "response": [] + }, + { + "name": "Create a Shipment from a Sales Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/42bb9a17-a402-e911-b818-00155d408001?$expand=Shipments';\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Sales order status is Shipping\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.be.eql('Shipping');\r", + " });\r", + " pm.test(\"One shipment is included\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Shipments).to.has.lengthOf(1);\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Return for Credit for Multiple Invoices\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "bea95387-64d9-4d1a-a887-4c202e873f72", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"id\":\"42bb9a17-a402-e911-b818-00155d408001\"\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": { \"value\": \"2026-08-20T00:00:00+03:00\" },\r\n \"WarehouseID\": { \"value\": \"RETAIL\" }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateShipment", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "SalesOrderCreateShipment" + ] + }, + "description": "This example shows the creation of a shipment from a sales order, which is described in [Create a Shipment from a Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=9a0b1037-c931-4eff-a974-15403d3227a7)." + }, + "response": [] + }, + { + "name": "Create a Shipment with the Receipt Operation Type", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/RM/' + \r", + " pm.collectionVariables.get('RMorderNbr') + '?$expand=Shipments';\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"One shipment is included\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Shipments).to.has.lengthOf(1);\r", + " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[0].ShipmentNbr.value);\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Confirm a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Set current date\r", + "var moment = require('moment');\r", + "pm.environment.set('currentDate', moment().format((\"YYYY-MM-DD\")));\r", + "\r", + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "6171e635-d45f-412b-af36-dfdc00647e81", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderType\": {\"value\": \"RM\"}\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": {\"value\": \"{{currentDate}}\"},\r\n \"WarehouseID\": {\"value\": \"RETAIL\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateReceipt", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "SalesOrderCreateReceipt" + ] + }, + "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." + }, + "response": [] + }, + { + "name": "Create a Shipment for a Replacement", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'SalesOrder/RM/' + \r", + " pm.collectionVariables.get('RMorderNbr') + '?$expand=Shipments';\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"At least one shipment is included\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Shipments).length.to.be.greaterThan(0);\r", + " pm.collectionVariables.set('shipmentNbr', jsonResponse.Shipments[1].ShipmentNbr.value);\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Retrieve a Sales Order by the Values of Specific Fields\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Set current date\r", + "var moment = require('moment');\r", + "pm.environment.set('currentDate', moment().format((\"YYYY-MM-DD\")));\r", + "\r", + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "4db35668-21fe-468a-a8c0-a6e03f29f59c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"OrderNbr\": {\"value\": \"{{RMorderNbr}}\"},\r\n \"OrderType\": {\"value\": \"RM\"}\r\n },\r\n \"parameters\": {\r\n \"ShipmentDate\": {\"value\": \"{{currentDate}}\"},\r\n \"WarehouseID\": {\"value\": \"RETAIL\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}SalesOrder/SalesOrderCreateShipment", + "host": [ + "{{EndpointURL}}SalesOrder" + ], + "path": [ + "SalesOrderCreateShipment" + ] + }, + "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." + }, + "response": [] + } + ], + "id": "d499a0d0-1e6e-4531-90a6-249f59220cf5", + "description": "This folder contains requests that use the [SalesOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=22f2d9a6-c0d8-4909-a430-415d21d50eb1) entity." + }, + { + "name": "ServiceOrder", + "item": [ + { + "name": "Retrieve a Service Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One service order is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Service order number is 000019\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].ServiceOrderNbr.value).to.eql('000019');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Excluded from collection running\r", + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "7c323af6-eec8-46b5-999b-2a287ba34058", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}ServiceOrder?$filter=ServiceOrderNbr eq '000019'", + "host": [ + "{{EndpointURL}}ServiceOrder" + ], + "query": [ + { + "key": "$filter", + "value": "ServiceOrderNbr eq '000019'" + } + ] + }, + "description": "This example shows the retrieval of a service order, which is described in [Retrieve a Service Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=7673a33c-ebdc-44d4-a54b-8def79aafb6f)." + }, + "response": [] + } + ], + "id": "509a8171-6291-4339-9b5e-27f483dbda0f", + "description": "This folder contains requests that use the [ServiceOrder](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=e494443c-2506-4be0-9a54-a3b57cca4fb4) entity." + }, + { + "name": "Shipment", + "item": [ + { + "name": "Create a Shipment for Sales Orders", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The shipment is created for three items\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.have.lengthOf(3);\r", + "});\r", + "pm.test(\"The shipment is on hold\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Status.value).to.eql('On Hold');\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Shipment for Two Sales Orders with Allocations and Package Contents\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100');\r", + "//Sign in and do prerequesites\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password);" + ] + } + } + ], + "id": "76201991-9b74-4ca4-8a04-84b8f25baa77", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n\t\"Type\":{\"value\":\"Shipment\"},\r\n\t\"CustomerID\":{\"value\":\"C000000003\"},\r\n\t\"WarehouseID\":{\"value\":\"MAIN\"},\r\n \"ShipmentDate\":{\"value\":\"2025-11-01\"},\r\n\t\"Details\":[\r\n\t\t{\r\n\t\t\t\"OrderType\":{\"value\":\"SO\"},\r\n\t\t\t\"OrderNbr\":{\"value\":\"000004\"}\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"OrderType\":{\"value\":\"SO\"},\r\n\t\t\t\"OrderNbr\":{\"value\":\"000006\"}\r\n\t\t}\r\n\t]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment?$select=Type,ShipmentNbr,Status,Details/InventoryID&$expand=Details", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$select", + "value": "Type,ShipmentNbr,Status,Details/InventoryID" + }, + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of a shipment with allocations and package specifications, which is described in [Create a Shipment for Two Sales Orders with Allocations and Package Specifications](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ab83de33-505c-476e-b8b8-99f2a98e142c)." + }, + "response": [] + }, + { + "name": "Create a Shipment for Two Sales Orders with Allocations and Package Contents", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two details are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.have.lengthOf(2);\r", + "});\r", + "pm.test(\"Package box is LARGE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Packages[0].BoxID.value).to.eql(\"LARGE\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Read the Tracking Number from a Shipment\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Requests to add sales orders\r", + "var callback = (pm, error, response) => {\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", + " var requestAddSO1 = {\r", + " url: url1,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM08\"}, \"OrderQty\": {\"value\": 2}, \"UOM\": {\"value\": \"PIECE\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddSO1, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('orderNbr1', jsonResponse.OrderNbr.value);\r", + " });\r", + "\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", + " var requestAddSO2 = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM32\"}, \"OrderQty\": {\"value\": 1}, \"UOM\": {\"value\": \"BOX\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddSO2, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('orderNbr2', jsonResponse.OrderNbr.value);\r", + " });\r", + " });\r", + " });\r", + "};\r", + "//Sign in and do prerequesites\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "13daf27a-5646-4558-a53e-613a6b23d2d5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr1}}\" },\r\n \"OrderType\": { \"value\": \"SO\" },\r\n \"OrderLineNbr\": { \"value\": 1 },\r\n \"Allocations\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LocationID\": { \"value\": \"L2R3S1\" },\r\n \"Qty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LocationID\": { \"value\": \"L3R2S1\" },\r\n \"Qty\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n }\r\n ]\r\n },\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr2}}\" },\r\n \"OrderType\": { \"value\": \"SO\" },\r\n \"OrderLineNbr\": { \"value\": 1 },\r\n \"Allocations\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM32\" },\r\n \"LocationID\": { \"value\": \"L1R3S2\" },\r\n \"Qty\": { \"value\": 6 },\r\n \"UOM\": { \"value\": \"PIECE\" }\r\n }\r\n ]\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"Packages\": [\r\n {\r\n \"BoxID\": { \"value\": \"LARGE\" },\r\n \"UOM\": { \"value\": \"KG\" },\r\n \"Weight\": { \"value\": 15 },\r\n \"PackageContents\": [\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr1}}\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM08\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 1 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr1}}\" }\r\n },\r\n {\r\n \"InventoryID\": { \"value\": \"APJAM32\" },\r\n \"LotSerialNbr\": { \"value\": \"\" },\r\n \"Quantity\": { \"value\": 6 },\r\n \"UOM\": { \"value\": \"PIECE\" },\r\n \"OrigOrderType\": { \"value\": \"SO\" },\r\n \"OrigOrderNbr\": { \"value\": \"{{orderNbr2}}\" }\r\n }\r\n ]\r\n }\r\n ],\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment?$expand=Details,Details/Allocations,Packages,Packages/PackageContents", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$expand", + "value": "Details,Details/Allocations,Packages,Packages/PackageContents" + } + ] + }, + "description": "This example shows the creation of a shipment with allocations and package specifications, which is described in [Create a Shipment for Two Sales Orders with Allocations and Package Specifications](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ab83de33-505c-476e-b8b8-99f2a98e142c)." + }, + "response": [] + }, + { + "name": "Read the Tracking Number from a Shipment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One shipment is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"One package is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].Packages).to.has.lengthOf(1);\r", + "});\r", + "pm.test(\"Tracking number is 398305336614\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].Packages[0].TrackingNbr.value).to.eql('398305336614');\r", + "});\r", + "//Sign out and set the next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Write the Tracking Number to a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "48de1dc3-2678-4891-b954-875bc6d54140", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Shipment?$expand=Packages&$select=Packages/TrackingNbr&$filter=ShipmentNbr eq '000001'", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$expand", + "value": "Packages" + }, + { + "key": "$select", + "value": "Packages/TrackingNbr" + }, + { + "key": "$filter", + "value": "ShipmentNbr eq '000001'" + } + ] + }, + "description": "This example shows how to read the tracking number from a shipment, which is described in [Read the Tracking Number from a Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b68ebcd5-89c9-4d81-9caa-613de0d03535)." + }, + "response": [] + }, + { + "name": "Write the Tracking Number to a Shipment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One package is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Packages).to.have.lengthOf(1);\r", + "});\r", + "pm.test(\"Tracking number is 398305336619\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Packages[0].TrackingNbr.value).to.eql('398305336619');\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update Freight Cost or Price\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Request to add a package\r", + "var callback = (pm, error, response) => {\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment?$expand=Packages';\r", + " var requestAddPackage = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"ShipmentNbr\": { \"value\": \"000058\"},\"Type\": {\"value\": \"Shipment\"},\"Packages\": [{\"BoxID\": {\"value\": \"SMALL\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddPackage, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding package should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('shipmentID', jsonResponse.id);\r", + " pm.collectionVariables.set('packageID', jsonResponse.Packages[0].id);\r", + " });\r", + " });\r", + "};\r", + "//Sign in and add a package to the shipment\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "92d6b14d-bf56-496a-8a6f-8a0cccf4a7f0", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"id\": \"{{shipmentID}}\",\r\n \"Packages\": [\r\n {\r\n \"id\": \"{{packageID}}\",\r\n \"TrackingNbr\": { \"value\": \"398305336619\" }\r\n }\r\n ]\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment?$expand=Packages&$select=Packages/TrackingNbr", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$expand", + "value": "Packages" + }, + { + "key": "$select", + "value": "Packages/TrackingNbr" + } + ] + }, + "description": "This example shows how to specify the tracking number in a shipment, which is described in [Write the Tracking Number to a Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=670f7957-231a-472b-9afb-55783a876dd9)." + }, + "response": [] + }, + { + "name": "Update Freight Cost or Price", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Freight price is 2\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.FreightPrice.value).to.eql(2);\r", + "});\r", + "pm.test(\"Freight cost is 1\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.FreightCost.value).to.eql(1);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create Separate Shipments for Each Sales Order\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Request to configure shipments\r", + "var callback = (pm, error, response) => {\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'ShipVia';\r", + " var requestPutShipVia = {\r", + " url: url1,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"CarrierID\": { \"value\": \"LOCAL\"},\"CalculationMethod\": {\"value\": \"MANUAL\"}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutShipVia, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for updating ship via code should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'Shipment';\r", + " var requestPutShipment = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"Type\": { \"value\": \"Shipment\"},\"ShipmentNbr\": {\"value\": \"000058\"},\"ShipVia\": {\"value\": \"LOCAL\"}}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestPutShipment, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for updating shipment should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + " });\r", + "};\r", + "//Sign in and do prerequesites\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "e3de165f-abfb-4e3a-842b-172732dada79", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"FreightPrice\": { \"value\": 2.0000 },\r\n \"FreightCost\": { \"value\": 1.0000 },\r\n \"OverrideFreightPrice\": { \"value\": true },\r\n \"ShipmentNbr\": { \"value\": \"000058\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment", + "host": [ + "{{EndpointURL}}Shipment" + ] + }, + "description": "This example shows the update of the freight cost or freight price of a shipment, which is described in [Update Freight Cost or Price](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=75c01ece-c80e-4a5e-a6e1-c4205ffa8263)." + }, + "response": [] + }, + { + "name": "Create Separate Shipments for Each Sales Order", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"One detail is included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Details).to.have.lengthOf(1);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Modified Stock Items\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//U100 sign-in data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100');\r", + "//Requests to add sales orders\r", + "var callback = (pm, error, response) => {\r", + " var url1 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", + " var requestAddSO1 = {\r", + " url: url1,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM08\"}, \"OrderQty\": {\"value\": 20}, \"UOM\": {\"value\": \"PIECE\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddSO1, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('orderNbr1', jsonResponse.OrderNbr.value);\r", + " });\r", + "\r", + " var url2 = pm.collectionVariables.get('EndpointURL') + 'SalesOrder';\r", + " var requestAddSO2 = {\r", + " url: url2,\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"OrderType\": { \"value\": \"SO\"},\"CustomerID\": {\"value\": \"GOODFOOD\"},\"Details\": [{\"InventoryID\": {\"value\": \"APJAM32\"}, \"OrderQty\": {\"value\": 3}, \"UOM\": {\"value\": \"BOX\"}, \"WarehouseID\": {\"value\": \"WHOLESALE\"}}]}'},\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + "\r", + " pm.sendRequest(requestAddSO2, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for adding order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " const jsonResponse = response.json();\r", + " pm.collectionVariables.set('orderNbr2', jsonResponse.OrderNbr.value);\r", + " });\r", + " });\r", + " });\r", + "};\r", + "//Sign in and do prerequesites\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback);" + ] + } + } + ], + "id": "b212723f-1cef-4f56-a7b6-84eea592ebe9", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"CustomerID\": { \"value\": \"GOODFOOD\" },\r\n \"Details\": [\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr1}}\" },\r\n \"OrderType\": { \"value\": \"SO\" }\r\n },\r\n {\r\n \"OrderNbr\": { \"value\": \"{{orderNbr2}}\" },\r\n \"OrderType\": { \"value\": \"SO\" }\r\n }\r\n ],\r\n \"LocationID\": { \"value\": \"MAIN\" },\r\n \"Operation\": { \"value\": \"Issue\" },\r\n \"WarehouseID\": { \"value\": \"WHOLESALE\" },\r\n \"CreateNewShipmentForEveryOrder\": { \"value\": true}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment?$expand=Details", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$expand", + "value": "Details" + } + ] + }, + "description": "This example shows the creation of separate shipments for each of the two sales orders, which is described in [Create Separate Shipments for Each Sales Order](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=03c70fe4-c9e5-4539-b156-352bef734b2a)." + }, + "response": [] + }, + { + "name": "Confirm a Shipment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + \r", + " pm.collectionVariables.get('shipmentNbr');\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Shipment is confirmed\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.eql('Confirmed');\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Prepare an Invoice for a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "c45f866b-8d78-4735-b098-9b2fc410e035", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment/ConfirmShipment", + "host": [ + "{{EndpointURL}}Shipment" + ], + "path": [ + "ConfirmShipment" + ] + }, + "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." + }, + "response": [] + }, + { + "name": "Prepare an Invoice for a Shipment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 202\", function () {\r", + " pm.response.to.have.status(202);\r", + "});\r", + "//Check the status of the operation\r", + "if (pm.response.code === 202) {\r", + " var url = pm.collectionVariables.get('BaseURL') + pm.response.headers.get(\"Location\");\r", + " var requestStatus = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " myFunction();\r", + " function myFunction(){\r", + " pm.sendRequest(requestStatus, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " if(response.code != 204)\r", + " {\r", + " setTimeout(function(){},100000);\r", + " myFunction();\r", + " }\r", + " else\r", + " {\r", + " var url = pm.collectionVariables.get('EndpointURL') + 'Shipment/' + \r", + " pm.collectionVariables.get('shipmentNbr');\r", + " var requestSalesOrder = {\r", + " url: url,\r", + " method: 'GET',\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestSalesOrder, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for the sales order should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " pm.test(\"Shipment is invoiced\", function (){\r", + " const jsonResponse = response.json();\r", + " pm.expect(jsonResponse.Status.value).to.eql('Invoiced');\r", + " });\r", + " //Sign out\r", + " var url = pm.collectionVariables.get('InstanceURL');\r", + " pm.acuFunc.singOutFunction(pm, url);\r", + " });\r", + " }\r", + " });\r", + " } \r", + "}\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Retrieve an Invoice Related to a Shipment\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "0dab6e3a-d534-48aa-9158-f8b5154772e5", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "POST", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment/PrepareInvoice", + "host": [ + "{{EndpointURL}}Shipment" + ], + "path": [ + "PrepareInvoice" + ] + }, + "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." + }, + "response": [] + }, + { + "name": "Retrieve an Invoice Related to a Shipment", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "const jsonResponse = pm.response.json();\r", + "pm.collectionVariables.set('invoiceNbr', jsonResponse[0].Orders[0].InvoiceNbr.value);\r", + "//Set the next request\r", + "pm.execution.setNextRequest(\"Create a Shipment for a Replacement\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "a9753adc-9c6f-4cdf-a2a6-490b558e02cb", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"entity\":{\r\n \"ShipmentNbr\": {\"value\": \"{{shipmentNbr}}\"}\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Shipment?$expand=Orders&$filter=ShipmentNbr eq '{{shipmentNbr}}'&$select=ShipmentNbr,Orders/InvoiceNbr,Orders/InvoiceType", + "host": [ + "{{EndpointURL}}Shipment" + ], + "query": [ + { + "key": "$expand", + "value": "Orders" + }, + { + "key": "$filter", + "value": "ShipmentNbr eq '{{shipmentNbr}}'" + }, + { + "key": "$select", + "value": "ShipmentNbr,Orders/InvoiceNbr,Orders/InvoiceType" + } + ] + }, + "description": "This example shows how to create a receipt for a sales order of the RM type. This process is described in [Create a Receipt for a Sales Order of the RM Type](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=a0257153-3f15-4563-8cf0-5a269b0008db)." + }, + "response": [] + } + ], + "id": "cd76a2b6-7d5b-497e-9162-65de7c9c7b97", + "description": "This folder contains requests that use the [Shipment](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=b6caac53-f98e-48aa-8571-eb0656100f5a) entity." + }, + { + "name": "StockItem", + "item": [ + { + "name": "Retrieve the List of Modified Stock Items", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Response contains AALEGO500\", function () {\r", + " pm.expect(pm.response.text()).to.include(\"AALEGO500\");\r", + "});\r", + "pm.test(\"Response does not contain AACOMPUT01\", function () {\r", + " pm.expect(pm.response.text()).to.not.include(\"AACOMPUT01\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Stock Items with Attributes\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Data for sign-in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "//Modification of stock items before request\r", + "var callback = (pm, error, response) => {\r", + " var endpointurl = pm.collectionVariables.get('EndpointURL');\r", + " var requestAACOMPUT01 = {\r", + " url: endpointurl+'StockItem?$select=InventoryID,ItemStatus',\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"InventoryID\": {\"value\": \"AACOMPUT01\"},\"ItemStatus\": {\"value\": \"Inactive\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestAACOMPUT01, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for AACOMPUT01 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + "\r", + " var requestAALEGO500 = {\r", + " url: endpointurl+'StockItem?$select=InventoryID,Description',\r", + " method: 'PUT',\r", + " body: {\r", + " mode: 'raw',\r", + " raw: '{\"InventoryID\": {\"value\": \"AALEGO500\"},\"Description\": {\"value\": \"Lego, 500 piece set\"}}'\r", + " },\r", + " header: {\r", + " 'Content-Type': 'application/json'\r", + " }\r", + " };\r", + " pm.sendRequest(requestAALEGO500, (error, response) => {\r", + " if (error) {\r", + " console.log(error);\r", + " }\r", + "\r", + " pm.test('Response for AALEGO500 should be OK to process', () => {\r", + " pm.expect(error).to.equal(null);\r", + " pm.expect(response).to.have.property('code', 200);\r", + " pm.expect(response).to.have.property('status', 'OK');\r", + " });\r", + " });\r", + " });\r", + "}\r", + "//Sign in and modify stock items\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password, callback)\r", + "" + ] + } + } + ], + "id": "0d03fc51-ca9f-4ee5-a750-e683f0cf586b", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}/StockItem?$filter=ItemStatus eq 'Active' and LastModified gt datetimeoffset'2022-09-24T00:00:00.000'&$expand=WarehouseDetails&$select=InventoryID,Description,WarehouseDetails/WarehouseID,WarehouseDetails/QtyOnHand,ItemClass,BaseUOM", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "StockItem" + ], + "query": [ + { + "key": "$filter", + "value": "ItemStatus eq 'Active' and LastModified gt datetimeoffset'2022-09-24T00:00:00.000'" + }, + { + "key": "$expand", + "value": "WarehouseDetails" + }, + { + "key": "$select", + "value": "InventoryID,Description,WarehouseDetails/WarehouseID,WarehouseDetails/QtyOnHand,ItemClass,BaseUOM" + } + ] + } + }, + "response": [] + }, + { + "name": "Retrieve Stock Items with Attributes", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Three attributes are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Attributes).to.have.lengthOf(3);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Unit Conversion Rules from a Stock Item\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "fbf6c3c2-9ba1-4ad3-8699-e87b499b24a4", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem/APL-16OZ-GBT?$expand=Attributes", + "host": [ + "{{EndpointURL}}StockItem" + ], + "path": [ + "APL-16OZ-GBT" + ], + "query": [ + { + "key": "$expand", + "value": "Attributes" + } + ] + }, + "description": "This example shows the retrieval of stock items with attributes, which is described in [Retrieve Stock Items with Attributes](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=48756ad4-c99e-42e3-9cff-14e9e199b310)." + }, + "response": [] + }, + { + "name": "Retrieve Unit Conversion Rules from a Stock Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Two UOM conventions are included\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.UOMConversions).to.have.lengthOf(2);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve Stock Items with Prices and Quantities by Warehouse\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "e3dca69e-5654-43da-aff9-9e4b4d376e6c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem/PLUMJAM96?$expand=UOMConversions", + "host": [ + "{{EndpointURL}}StockItem" + ], + "path": [ + "PLUMJAM96" + ], + "query": [ + { + "key": "$expand", + "value": "UOMConversions" + } + ] + }, + "description": "This example shows the retrieval of unit conversion rules from a stock item, which is described in [Retrieve Unit Conversion Rules from a Stock Item](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=aaeef8da-0636-4f17-af9d-56abf445b5c8)." + }, + "response": [] + }, + { + "name": "Retrieve Stock Items with Prices and Quantities by Warehouse", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Not empty list is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.be.not.empty;\r", + "});\r", + "pm.test(\"Default price is not null\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].DefaultPrice.value).to.be.not.null;\r", + "});\r", + "pm.test(\"QtyOnHand is not null\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].WarehouseDetails[0].QtyOnHand.value).to.be.not.null;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Attachments of a Stock Item\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "2c381d62-8368-434d-b2c9-fb80ba8c9977", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}StockItem?$filter=DefaultWarehouseID eq 'WHOLESALE'&$expand=WarehouseDetails&$select=DefaultPrice,WarehouseDetails/QtyOnHand,WarehouseDetails/WarehouseID", + "host": [ + "{{EndpointURL}}StockItem" + ], + "query": [ + { + "key": "$filter", + "value": "DefaultWarehouseID eq 'WHOLESALE'" + }, + { + "key": "$expand", + "value": "WarehouseDetails" + }, + { + "key": "$select", + "value": "DefaultPrice,WarehouseDetails/QtyOnHand,WarehouseDetails/WarehouseID" + } + ] + }, + "description": "This example shows the retrieval of stock items with prices and quantities by warehouse, which is described in [Retrieve Stock Items with Prices and Quantities by Warehouse](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=ef431206-da3a-4e30-b724-0071f82fb25c)." + }, + "response": [] + }, + { + "name": "Retrieve the List of Attachments of a Stock Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The stock item has files\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.files).to.be.not.empty;\r", + "});\r", + "const jsonData = pm.response.json();\r", + "pm.collectionVariables.set(\"fileRef\", jsonData.files[0].href);\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the File Attached to a Stock Item\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "46ac5785-3c18-488b-9b8f-ebdf57a42131", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}/StockItem/AAMACHINE1?$select=InventoryID,files&$expand=files", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "StockItem", + "AAMACHINE1" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID,files" + }, + { + "key": "$expand", + "value": "files" + } + ] + } + }, + "response": [] + }, + { + "name": "Retrieve the File Attached to a Stock Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The stock item contains a JPG file\", function (){\r", + " pm.expect(pm.response.text()).to.include(\"Exif\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Stock Item with Attributes\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "3e2637c1-b6a5-4db4-b95f-568912f9316f", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{BaseURL}}{{fileRef}}", + "host": [ + "{{BaseURL}}{{fileRef}}" + ] + } + }, + "response": [] + }, + { + "name": "Create a Stock Item with Attributes", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"The stock item has two attributes\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Attributes).to.have.lengthOf(2);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Add a Note to a Stock Item\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "6acc72d0-423d-431d-b5d7-e1edcbf76a8e", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"InventoryID\":{\"value\":\"BASESERV1\"},\n\t\"Description\":{\"value\":\"Baseline level of performance\"},\n\t\"ItemClass\":{\"value\":\"STOCKITEM\"},\n\t\"Attributes\":[\n\t\t{\n\t\t\t\"AttributeID\":{\"value\":\"Operation System\"},\n\t\t\t\"Value\":{\"value\":\"Windows\"}\n\t\t},\n\t\t{\n\t\t\t\"AttributeID\":{\"value\":\"SOFTVER\"},\n\t\t\t\"Value\":{\"value\":\"Server 2012 R2\"}\n\t\t}\n\t]\n}" + }, + "url": { + "raw": "{{EndpointURL}}/StockItem?$select=InventoryID,Attributes/AttributeDescription,Attributes/Value&$expand=Attributes", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "StockItem" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID,Attributes/AttributeDescription,Attributes/Value" + }, + { + "key": "$expand", + "value": "Attributes" + } + ] + } + }, + "response": [] + }, + { + "name": "Add a Note to a Stock Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"A note is attached\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.note.value).to.equal(\"My note\");\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Obtain the URL for the Attaching of a File\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "39a4c7aa-1d9b-41f5-8968-e8de84e1a03c", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\n\t\"InventoryID\":{\"value\":\"AALEGO500\"},\n\t\"note\": {\"value\": \"My note\"}\n}" + }, + "url": { + "raw": "{{EndpointURL}}/StockItem?$select=InventoryID", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "StockItem" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID" + } + ] + } + }, + "response": [] + }, + { + "name": "Obtain the URL for the Attaching of a File", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "const jsonResponse = pm.response.json();\r", + "const fileRef = jsonResponse._links['files:put'];\r", + "pm.collectionVariables.set('StockItemFileUrl', fileRef.replace('{filename}','T2MCRO.jpg'));\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Update a Tax Category\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Data for sign-in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "//Sign in and modify stock items\r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)\r", + "" + ] + } + } + ], + "id": "47bdb4b2-6772-4829-8230-1ee704a56aca", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}/StockItem/AALEGO500?$select=InventoryID", + "host": [ + "{{EndpointURL}}" + ], + "path": [ + "StockItem", + "AALEGO500" + ], + "query": [ + { + "key": "$select", + "value": "InventoryID" + } + ] + } + }, + "response": [] + }, + { + "name": "Attach a File to a Stock Item", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "pm.test(\"Status code is 204\", function () {\r", + " pm.response.to.have.status(204);\r", + "});\r", + "//Sign out and set next request\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with T100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameT100');\r", + "var password = pm.collectionVariables.get('PasswordT100');\r", + "var tenant = pm.collectionVariables.get('TenantT100');\r", + "var branch = pm.collectionVariables.get('BranchT100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "f97e9a51-231d-432c-8043-b8c43727a135", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/octet-stream", + "type": "text" + } + ], + "body": { + "mode": "file", + "file": {} + }, + "url": { + "raw": "{{BaseURL}}{{StockItemFileUrl}}", + "host": [ + "{{BaseURL}}{{StockItemFileUrl}}" + ] + } + }, + "response": [] + } + ], + "id": "d3050894-f8c8-41ae-b42c-3ddaafcd2a9e", + "description": "This folder contains requests that use the [StockItem](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=f8def7ed-b7d2-4bd6-bec7-edea763f7741) entity." + }, + { + "name": "TaxCategory", + "item": [ + { + "name": "Update a Tax Category", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Tax category is TAXABLE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TaxCategoryID.value).to.be.eql('TAXABLE');\r", + "});\r", + "pm.test(\"ExcludeListedTaxes is true\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.ExcludeListedTaxes.value).to.be.eql(true);\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Read Employee Time Activities\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "329fa750-779c-478d-8cc9-ea081678d2db", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Active\": { \"value\": true },\r\n \"Description\": { \"value\": \"Taxable Goods and Services v2\" },\r\n \"ExcludeListedTaxes\": { \"value\": true },\r\n \"TaxCategoryID\": { \"value\": \"TAXABLE\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}TaxCategory", + "host": [ + "{{EndpointURL}}TaxCategory" + ] + }, + "description": "This example shows the update of a tax category, which is described in [Update a Tax Category](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=5d41edd8-90d2-40bd-bda7-91d617ac9427)." + }, + "response": [] + } + ], + "id": "b9d2baa0-9cf6-434a-a055-90d841d1d380", + "description": "This folder contains requests that use the [TaxCategory](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=c5ee575c-fd7e-445e-bb97-f66df3fbb7f7) entity." + }, + { + "name": "TimeEntry", + "item": [ + { + "name": "Read Employee Time Activities", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Not empty list is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.be.not.empty;\r", + "});\r", + "pm.test(\"TimeSpent is not null\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].TimeSpent.value).to.be.not.null;\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Write Employee Time Activities\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "efa41140-f078-446d-bf4f-291c666c1793", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}TimeEntry", + "host": [ + "{{EndpointURL}}TimeEntry" + ] + }, + "description": "This example shows how to read the time spent on the tasks of projects. This process is described in [Read Employee Time Activities](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=6826de52-8447-4149-aa42-957cbe30e452)." + }, + "response": [] + }, + { + "name": "Write Employee Time Activities", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Employee is EP00000026\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.Employee.value).to.be.eql('EP00000026');\r", + "});\r", + "pm.test(\"TimeSpent is 01:30\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TimeSpent.value).to.be.eql('01:30');\r", + "});\r", + "pm.test(\"TimeZone is (GMT+10:00) Canberra, Melbourne, Sydney\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TimeZone.value).to.be.eql('(GMT+10:00) Canberra, Melbourne, Sydney');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Search for Time Entries by Date\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = 'gibbs';\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "b82f23ab-7405-4651-858e-a7c43a38a65a", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Summary\" : {\"value\" : \"Time entry summary\"},\r\n \"Date\" : {\"value\" : \"2024-10-24T10:05:00.000\" },\r\n \"Employee\" : {\"value\" : \"EP00000026\" },\r\n \"ProjectID\" : {\"value\" : \"TOMYUM1\" },\r\n \"ProjectTaskID\" : {\"value\" : \"PHASE1\" },\r\n \"CostCode\" : {\"value\" : \"00-000\" },\r\n \"EarningType\" : {\"value\" : \"RG\" },\r\n \"TimeSpent\" : {\"value\" : \"01:30\" },\r\n \"BillableTime\" : {\"value\" : \"00:30\" },\r\n \"TimeZone\" : {\"value\" : \"(GMT+10:00) Canberra, Melbourne, Sydney\"}\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}TimeEntry", + "host": [ + "{{EndpointURL}}TimeEntry" + ] + }, + "description": "This example shows how to specify the time spent on the tasks of projects. This process is described in [Write Employee Time Activities](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=26ffd94a-ac96-4684-a03c-9676a5446211)." + }, + "response": [] + }, + { + "name": "Search for Time Entries by Date", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Not empty list is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.be.not.empty;\r", + "});\r", + "pm.test(\"TimeSpent is 01:30\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].TimeSpent.value).to.be.eql('01:30');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Retrieve the List of Vendors\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = 'gibbs';\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "d6cb93fd-80e2-48d6-b0c7-faa6f066b762", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": { + "raw": "{{EndpointURL}}TimeEntry?$filter=cf.DateTime(f='Items.Date') ge datetimeoffset'2024-10-23' and cf.DateTime(f='Items.Date') le datetimeoffset'2024-10-25T23%3A59%3A59.999%2B04%3A00'&$select=Date,ProjectID,TimeSpent,BillableTime", + "host": [ + "{{EndpointURL}}TimeEntry" + ], + "query": [ + { + "key": "$filter", + "value": "cf.DateTime(f='Items.Date') ge datetimeoffset'2024-10-23' and cf.DateTime(f='Items.Date') le datetimeoffset'2024-10-25T23%3A59%3A59.999%2B04%3A00'" + }, + { + "key": "$select", + "value": "Date,ProjectID,TimeSpent,BillableTime" + } + ] + }, + "description": "This example shows how to search for the time entries entered on particular date. This process is described in [Search for Time Entries by Date](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3127b81c-8f59-4051-9f1a-db0896e3b5af)." + }, + "response": [] + } + ], + "id": "58e61478-4a87-4d64-9337-ab11780fc621", + "description": "This folder contains requests that use the [TimeEntry](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=223986c1-b5a5-4506-b0d7-f426bc89d1b7) entity." + }, + { + "name": "Vendor", + "item": [ + { + "name": "Retrieve the List of Vendors", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"Not empty list is returned\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse).to.be.not.empty;\r", + "});\r", + "pm.test(\"CashAccount is 10200TG\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse[0].CashAccount.value).to.eql('10200TG');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Vendor\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "a586c5fc-430f-4c7f-8732-0be437c69465", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "url": { + "raw": "{{EndpointURL}}Vendor?$filter=CashAccount eq '10200TG'", + "host": [ + "{{EndpointURL}}Vendor" + ], + "query": [ + { + "key": "$filter", + "value": "CashAccount eq '10200TG'" + } + ] + }, + "description": "This example shows the retrieval of vendors, which is described in [Retrieve the List of Vendors](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0a6af8a9-5055-4f8d-8a61-0dc32f49e1d6)." + }, + "response": [] + }, + { + "name": "Create a Vendor", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"VendorID is TESTVENDOR\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.VendorID.value).to.eql('TESTVENDOR');\r", + "});\r", + "pm.test(\"Vendor class is SUBCON\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.VendorClass.value).to.eql('SUBCON');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"Create a Work Calendar\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "6d86205c-3b3b-445a-a935-d3087a31eaea", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"AccountRef\": {},\r\n \"APAccount\": { \"value\": \"20000\" },\r\n \"APSubaccount\": { \"value\": \"000000\" },\r\n \"CashAccount\": { \"value\": \"10200WH\" },\r\n \"CurrencyID\": { \"value\": \"USD\" },\r\n \"CurrencyRateType\": { \"value\": \"SPOT\" },\r\n \"EnableCurrencyOverride\": { \"value\": true },\r\n \"EnableRateOverride\": { \"value\": false },\r\n \"F1099Box\": {},\r\n \"F1099Vendor\": { \"value\": false },\r\n \"FATCA\": {},\r\n \"FOBPoint\": {},\r\n \"ForeignEntity\": { \"value\": false },\r\n \"LandedCostVendor\": { \"value\": false },\r\n \"LastModifiedDateTime\": { \"value\": \"2020-08-11T10:47:41.17-04:00\" },\r\n \"LeadTimedays\": {},\r\n \"LocationName\": { \"value\": \"Primary Location\" },\r\n \"MaxReceipt\": { \"value\": 100.000000 },\r\n \"MinReceipt\": { \"value\": 0.000000 },\r\n \"ParentAccount\": {},\r\n \"PaymentBy\": { \"value\": \"Due Date\" },\r\n \"PaymentLeadTimedays\": { \"value\": 0 },\r\n \"PaymentMethod\": { \"value\": \"CHECK\" },\r\n \"PaySeparately\": { \"value\": false },\r\n \"PrintOrders\": { \"value\": false },\r\n \"ReceiptAction\": { \"value\": \"Accept but Warn\" },\r\n \"ReceivingBranch\": {},\r\n \"RemittanceAddressOverride\": { \"value\": false },\r\n \"RemittanceContactOverride\": { \"value\": false },\r\n \"SendOrdersbyEmail\": { \"value\": false },\r\n \"ShippingAddressOverride\": { \"value\": false },\r\n \"ShippingContactOverride\": { \"value\": false },\r\n \"ShippingTerms\": {},\r\n \"ShipVia\": {},\r\n \"Status\": { \"value\": \"Active\" },\r\n \"TaxCalculationMode\": { \"value\": \"Tax Settings\" },\r\n \"TaxRegistrationID\": {},\r\n \"TaxZone\": {},\r\n \"Terms\": { \"value\": \"30D\" },\r\n \"ThresholdReceipt\": { \"value\": 100.000000 },\r\n \"VendorClass\": { \"value\": \"SUBCON\" },\r\n \"VendorID\": { \"value\": \"TESTVENDOR\" },\r\n \"VendorIsLaborUnion\": { \"value\": false },\r\n \"VendorIsTaxAgency\": { \"value\": false },\r\n \"VendorName\": { \"value\": \"TESTVENDOR\" }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}Vendor", + "host": [ + "{{EndpointURL}}Vendor" + ] + }, + "description": "This example shows the creation of a vendor, which is described in [Create a Vendor](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=8c83fbc5-1598-4312-9594-f9a40d7c6201)." + }, + "response": [] + } + ], + "id": "4f0c107f-b409-4cc9-ab72-bc44722ff8bc", + "description": "This folder contains requests that use the [Vendor](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=0469b6dd-5f6d-4813-afc3-2c42dbb9cacf) entity." + }, + { + "name": "WorkCalendar", + "item": [ + { + "name": "Create a Work Calendar", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"WorkCalendarID is TST\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.WorkCalendarID.value).to.eql('TST');\r", + "});\r", + "pm.test(\"TimeZone is (GMT-08:00) Pacific Time (US & Canada)\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.TimeZone.value).to.eql('(GMT-08:00) Pacific Time (US & Canada)');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url);\r", + "pm.execution.setNextRequest(\"\");" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "5f21997c-bd35-4d68-a767-4194d9ad0ba7", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"WorkCalendarID\": {\r\n \"value\": \"TST\"\r\n },\r\n \"Description\": {\r\n \"value\": \"Test Calendar\"\r\n },\r\n \"TimeZone\": {\r\n \"value\": \"GMTM0800A\"\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}WorkCalendar", + "host": [ + "{{EndpointURL}}WorkCalendar" + ] + }, + "description": "This example shows how to create a work calendar. This process is described in [Create a Work Calendar](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=be815df9-d191-4d4d-a6af-50af4ac9b6cf)." + }, + "response": [] + } + ], + "id": "d0ca0422-6a0f-4762-9713-50b7bdc28562", + "description": "This folder contains requests that use the [WorkCalendar](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2fbc7663-b9c5-40b6-839d-40cd7d0e3d12) entity." + }, + { + "name": "WorkLocation", + "item": [ + { + "name": "Create a Work Location", + "event": [ + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "//Test the result\r", + "pm.test(\"Status code is 200\", function () {\r", + " pm.response.to.have.status(200);\r", + "});\r", + "pm.test(\"WorkLocationID is DELLEVUE\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.WorkLocationID.value).to.eql('DELLEVUE');\r", + "});\r", + "pm.test(\"City is Bellevue\", function (){\r", + " const jsonResponse = pm.response.json();\r", + " pm.expect(jsonResponse.AddressInfo.City.value).to.eql('Bellevue');\r", + "});\r", + "//Sign out\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "pm.acuFunc.singOutFunction(pm, url, \"\");\r", + "" + ] + } + }, + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "//Sign in to the tenant with U100 data\r", + "var url = pm.collectionVariables.get('InstanceURL');\r", + "var username = pm.collectionVariables.get('UsernameU100');\r", + "var password = pm.collectionVariables.get('PasswordU100');\r", + "var tenant = pm.collectionVariables.get('TenantU100');\r", + "var branch = pm.collectionVariables.get('BranchU100'); \r", + "pm.acuFunc.singInFunction(pm, url, tenant, branch, username, password)" + ] + } + } + ], + "id": "c5781526-2a0a-4997-a709-4136ee3eb828", + "protocolProfileBehavior": { + "disableBodyPruning": true + }, + "request": { + "method": "PUT", + "header": [ + { + "key": "Accept", + "value": "application/json", + "type": "text" + }, + { + "key": "Content-Type", + "value": "application/json", + "type": "text" + } + ], + "body": { + "mode": "raw", + "raw": "{\r\n \"Active\": {\r\n \"value\": true\r\n },\r\n \"WorkLocationID\": {\r\n \"value\": \"DELLEVUE\"\r\n },\r\n \"WorkLocationName\": {\r\n \"value\": \"New address location\"\r\n },\r\n \"AddressInfo\": {\r\n \"AddressLine1\": {\r\n \"value\": \"1st Browny St.\"\r\n },\r\n \"AddressLine2\": {\r\n \"value\": \"Suite 200\"\r\n },\r\n \"City\": {\r\n \"value\": \"Bellevue\"\r\n },\r\n \"Country\": {\r\n \"value\": \"US\"\r\n },\r\n \"PostalCode\": {\r\n \"value\": \"98004\"\r\n },\r\n \"State\": {\r\n \"value\": \"WA\"\r\n }\r\n }\r\n}" + }, + "url": { + "raw": "{{EndpointURL}}WorkLocation?$expand=AddressInfo", + "host": [ + "{{EndpointURL}}WorkLocation" + ], + "query": [ + { + "key": "$expand", + "value": "AddressInfo" + } + ] + }, + "description": "This example shows how to create a work location. This process is described in [Create a Work Location](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=3afa8a81-839e-403e-85b3-d19a60a02328)." + }, + "response": [] + } + ], + "id": "4468f4ab-a541-4627-8b0e-d9835aae4fce", + "description": "This folder contains requests that use the [WorkLocation](https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=2650e002-fccd-4128-a187-0c1467766f9d) entity." + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "id": "d82b8c8b-6100-4798-93ca-aece8c21318c", + "type": "text/javascript", + "requests": {}, + "exec": [ + "let singInFunction = (pm, url, tenant, branch, username, password, callback) => { ", + "var requestSignIn = {", + " url: url + 'entity/auth/login',", + " method: 'POST',", + " body: {", + " mode: 'raw',", + " raw: '{ \"name\":\"'+username+'\", \"password\":\"'+password+'\", \"tenant\":\"'+tenant+'\", \"branch\": \"'+branch+'\"}'", + " },", + " header: {", + " 'Content-Type': 'application/json'", + " }", + "};", + "console.log(pm.info.requestName);", + "pm.sendRequest(requestSignIn, (error, response) => {", + " if (error) {", + " console.log(error);", + " }", + "", + " pm.test('Response for sing in should be 204 to process', () => {", + " pm.expect(error).to.equal(null);", + " pm.expect(response).to.have.property('code', 204);", + " pm.expect(response).to.have.property('status', 'No Content');", + " });", + "", + " if (callback) {", + " callback(pm, error, response);", + " }", + "", + "});", + "", + " };", + "", + "let pmProto = Object.getPrototypeOf(pm);", + "", + "pmProto.acuFunc = { singInFunction };" + ] + } + }, + { + "listen": "test", + "script": { + "id": "f09c9b1e-46e7-4ef1-b4f7-4fb652d27330", + "type": "text/javascript", + "requests": {}, + "exec": [ + "let singOutFunction = (pm, url) => { ", + " var requestSignOut = {", + " url: url + 'entity/auth/logout',", + " method: 'POST',", + " header: {", + " 'Content-Type': 'application/json'", + " }", + " };", + "", + " pm.sendRequest(requestSignOut, (error, response) => {", + " if (error) {", + " console.log(error);", + " }", + "", + " pm.test('Response for sing out should be 204 to process', () => {", + " pm.expect(error).to.equal(null);", + " pm.expect(response).to.have.property('code', 204);", + " pm.expect(response).to.have.property('status', 'No Content');", + " });", + " });", + "};", + "", + "let pmProto = Object.getPrototypeOf(pm);", + "pmProto.acuFunc = { singOutFunction };" + ] + } + } + ], + "variable": [ + { + "id": "14e17844-c988-4b3a-b169-11ec1397af3a", + "key": "BaseURL", + "value": "https://localhost/" + }, + { + "id": "33409b5e-69c8-4947-b92d-8a8f1a0af166", + "key": "InstanceURL", + "value": "{{BaseURL}}AcumaticaERP/" + }, + { + "id": "5e2a90e6-6ae9-4306-a5ed-eba684b22db2", + "key": "EndpointURL", + "value": "{{InstanceURL}}entity/Default/25.200.001/" + }, + { + "id": "a36b8ebc-f8f4-4240-b0bb-ad397c164784", + "key": "ManufacturingEndpointURL", + "value": "{{ManufacturingInstanceURL}}entity/MANUFACTURING/25.100.001/" + }, + { + "id": "3323bf73-3783-4062-ae81-f19c55eb386c", + "key": "TenantU100", + "value": "U100" + }, + { + "id": "1ba75d9d-4b1a-4116-a850-a56e13a04df7", + "key": "BranchU100", + "value": "HEADOFFICE" + }, + { + "id": "f166b655-8445-458d-9688-5696b65aad20", + "key": "UsernameU100", + "value": "admin" + }, + { + "id": "5c13599a-2100-45e7-ac74-90c8c1a7121d", + "key": "PasswordU100", + "value": "123" + }, + { + "id": "fa1ffaa2-741f-4e3f-abad-a759e5b55c40", + "key": "TenantT100", + "value": "T100" + }, + { + "id": "a325c56d-e415-458d-b86f-71c3ab4d3361", + "key": "BranchT100", + "value": "MYSTORE" + }, + { + "id": "76f169ab-1728-4bd5-9654-dbf930ffd28a", + "key": "UsernameT100", + "value": "admin" + }, + { + "id": "7f95e8dc-aa20-4321-ad33-29678e70bccd", + "key": "PasswordT100", + "value": "123" + }, + { + "id": "654307b2-ebd2-4147-986d-faae64a1db35", + "key": "TenantSalesDemo", + "value": "SalesDemo" + }, + { + "id": "17101932-beea-4ac6-847c-40567bf3c3c6", + "key": "BranchSalesDemo", + "value": "PRODWHOLE" + }, + { + "id": "34c08095-31ed-464d-b0d8-7c1824396445", + "key": "UsernameSalesDemo", + "value": "admin" + }, + { + "id": "cf1860c4-e851-46f0-a2bb-dcf04e319aae", + "key": "PasswordSalesDemo", + "value": "123" + }, + { + "id": "95003c94-2fc1-4b46-819f-aabee44d946c", + "key": "caseEntityID", + "value": "" + }, + { + "id": "361429bd-c4a3-46c6-ab07-8e4fb2451b5c", + "key": "customerEntityID", + "value": "" + }, + { + "id": "5eba6d7c-7694-404a-b43a-0455c79a776a", + "key": "leadEntityID", + "value": "" + }, + { + "id": "ee3b4fd0-0398-4181-94da-b83786c0b2af", + "key": "paymentRefNbr", + "value": "" + }, + { + "id": "70c0c67f-260b-40d5-883e-f84260d95683", + "key": "appliedToDocuments", + "value": "" + }, + { + "id": "a12def31-4ad0-43bb-9a5d-35e818eab483", + "key": "appliedToOrders", + "value": "" + }, + { + "id": "c44d2d21-0757-4720-a133-8ca9156ada8f", + "key": "proFormaReferenceNbr", + "value": "" + }, + { + "id": "e5e0fce1-fe87-454f-a846-38022b69a97c", + "key": "purchaseReceiptID", + "value": "" + }, + { + "id": "9e132afd-cadf-44df-88d3-7463e4de9eea", + "key": "shipmentID", + "value": "" + }, + { + "id": "72e65333-8416-45d1-bdb8-9320b1d4a683", + "key": "packageID", + "value": "" + }, + { + "id": "95eefb63-3980-44d9-b8d1-3ba67e3d65ae", + "key": "SalesInvoiceStatusUrl", + "value": "" + }, + { + "id": "85cdc80d-4194-4686-9ed8-cb8e44b188ea", + "key": "CONGRILL_detail_ID", + "value": "" + }, + { + "id": "d473a53a-1eb9-42ff-82bb-e81810d08142", + "key": "AALEGO500_detail_ID", + "value": "" + }, + { + "id": "f9f59d66-279d-4f80-a209-99f63d52b017", + "key": "fileRef", + "value": "" + }, + { + "id": "72f9bcb9-40bf-44f9-8905-33ab85b461f3", + "key": "recordFilter", + "value": "" + }, + { + "id": "1fcbea26-6ad8-4792-901b-d2e1addb81a7", + "key": "filteredRecordID", + "value": "" + }, + { + "id": "b2f4f326-9e03-4389-be77-718719a4fa5c", + "key": "orderNbr1", + "value": "" + }, + { + "id": "5349fb00-b86d-4227-b5e1-02d1ca71086d", + "key": "orderNbr2", + "value": "" + }, + { + "id": "62168aac-c389-49e7-b0d5-6d1065ac62ea", + "key": "orderID", + "value": "" + }, + { + "id": "db8e4515-08e5-475e-87d6-f79acab67a96", + "key": "shipmentNbr", + "value": "" + }, + { + "id": "35397443-e466-43e8-b2b4-a3df8be3956d", + "key": "invoiceEntityID", + "value": "" + }, + { + "id": "0ba3f8e4-9919-4dd5-945a-0a121446d451", + "key": "paymentNbr", + "value": "" + }, + { + "id": "6333fe92-a31a-4e82-a330-c8fb9e0508db", + "key": "StockItemFileUrl", + "value": "" + }, + { + "id": "bd342053-59e6-425f-83b7-63367eeaa963", + "key": "RCOrderNbr", + "value": "" + }, + { + "id": "e1dc5ad3-a4c1-4929-9d9f-682cf8662c1a", + "key": "RCDetailAllocationLineNbr", + "value": "" + }, + { + "id": "4bc59037-2719-4718-8700-90b2c577279c", + "key": "RCDetailAllocationSplitLineNbr", + "value": "" + }, + { + "id": "88a4158f-5ff6-420c-8a70-da5b146cc4c5", + "key": "RCDetailLineNbr", + "value": "" + }, + { + "id": "ef312477-6782-462f-b975-2f060671d917", + "key": "creditMemoNbr", + "value": "" + }, + { + "id": "fce63a74-77e3-403c-b9ed-e77aceeaa3a9", + "key": "invoiceNbr", + "value": "" + }, + { + "id": "fcebc5d2-d2b9-41d3-a540-1633cfe6d53f", + "key": "RMorderNbr", + "value": "" + }, + { + "id": "5f061644-c65d-49ed-bf5a-6308c76a1ea2", + "key": "ShipmentNbr", + "value": "" + }, + { + "id": "f4375fb9-db26-4b2c-874c-4049e5bc39fd", + "key": "paymentAmount", + "value": "235.27" + } + ] } \ No newline at end of file diff --git a/MobileDevelopment/T410/T410_Code/T410_Code/T410_Code.csproj b/MobileDevelopment/T410/T410_Code/T410_Code/T410_Code.csproj index f07ba14d..f6b25e07 100644 --- a/MobileDevelopment/T410/T410_Code/T410_Code/T410_Code.csproj +++ b/MobileDevelopment/T410/T410_Code/T410_Code/T410_Code.csproj @@ -38,10 +38,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/ModernUI/T290/PhoneRepairShop/InputData/RSSVSetup.csv b/ModernUI/T290/PhoneRepairShop/InputData/RSSVSetup.csv index abaa766a..430d93f1 100644 --- a/ModernUI/T290/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/ModernUI/T290/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/ModernUI/T290/PhoneRepairShop/ReportsCustomized/RS601000.rpx b/ModernUI/T290/PhoneRepairShop/ReportsCustomized/RS601000.rpx index 0b3d2ac7..6c011464 100644 --- a/ModernUI/T290/PhoneRepairShop/ReportsCustomized/RS601000.rpx +++ b/ModernUI/T290/PhoneRepairShop/ReportsCustomized/RS601000.rpx @@ -1,6 +1,6 @@ - http://localhost/PhoneRepairShop3 + http://localhost/PhoneRepairShop diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 07e276bd..6c3fd7a5 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 2619283a..facb32d8 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -39,6 +39,21 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVSetupMaint.cs b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVSetupMaint.cs index 48561a5f..bc5c9577 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVSetupMaint.cs +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVSetupMaint.cs @@ -1,15 +1,33 @@ using System; using PX.Data; using PX.Data.BQL.Fluent; +using System; namespace PhoneRepairShop { public class RSSVSetupMaint : PXGraph { - public PXSave Save = null!; public PXCancel Cancel = null!; public SelectFrom.View Setup = null!; - } + + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + + + } } \ No newline at end of file diff --git a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs index ae061821..8d0cd990 100644 --- a/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs +++ b/ModernUI/T290/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVWorkOrderEntry.cs @@ -46,6 +46,20 @@ public RSSVWorkOrderEntry() RSSVSetup setup = AutoNumSetup.Current; } + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/Bin/PhoneRepairShop_code.dll b/ModernUI/T290/SourceFiles/PhoneRepairShop/Bin/PhoneRepairShop_code.dll index b47b3491..ac119fe5 100644 Binary files a/ModernUI/T290/SourceFiles/PhoneRepairShop/Bin/PhoneRepairShop_code.dll and b/ModernUI/T290/SourceFiles/PhoneRepairShop/Bin/PhoneRepairShop_code.dll differ diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv b/ModernUI/T290/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv index abaa766a..430d93f1 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml index 52007f4e..5be7e640 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml @@ -1,7 +1,7 @@  - - + + @@ -11,6 +11,7 @@ + @@ -18,7 +19,9 @@ + + @@ -48,8 +51,8 @@ -
-
+
+
@@ -63,6 +66,7 @@
+
@@ -97,6 +101,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -112,6 +131,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -137,14 +171,14 @@ - - + + - + @@ -152,7 +186,7 @@ - + @@ -160,27 +194,25 @@ - - - + + - - + - + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml index 29a54ae2..4f18c4c2 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml @@ -1,7 +1,7 @@  - - + + @@ -11,6 +11,7 @@ + @@ -18,7 +19,9 @@ + + @@ -48,8 +51,8 @@ -
-
+
+
@@ -63,6 +66,7 @@
+
@@ -97,6 +101,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -112,6 +131,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -137,43 +171,41 @@ - - + + - + - + - - - + + - - + - + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml index dc69f6b8..f5c1f346 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml @@ -1,7 +1,7 @@  - - + + @@ -11,6 +11,7 @@ + @@ -18,7 +19,9 @@ + + @@ -48,8 +51,8 @@ -
-
+
+
@@ -63,6 +66,7 @@
+
@@ -97,6 +101,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -112,6 +131,21 @@
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
@@ -137,43 +171,41 @@ - - + + - + - + - - - + + - - + - + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/InventoryItem.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/InventoryItem.xml index 3621d7c3..4281dc3d 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/InventoryItem.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/InventoryItem.xml @@ -1,4 +1,4 @@ 
- +
\ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ProjectMetadata.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ProjectMetadata.xml index 2ab3006c..b87176ac 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ProjectMetadata.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ProjectMetadata.xml @@ -1,2 +1,2 @@  - \ No newline at end of file + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml index f641e3d6..8ab582fb 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,117 @@
- - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml index 06ec004c..2590e5c8 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml index e9b24f3a..c051d691 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml index f3d31ceb..205ccbcb 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml @@ -1,6 +1,6 @@ - + - + @@ -18,9 +18,7 @@ - - - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml index 410f03dc..717d8e3e 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml index 2150542c..2e9c9cba 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml @@ -1,6 +1,6 @@ - + - + @@ -18,9 +18,7 @@ - - - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml index ef3ba624..6a7742cd 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml index b99299c2..b92e80a2 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml @@ -1,6 +1,6 @@ - + - + @@ -18,9 +18,7 @@ - - - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS501000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS501000.xml index 9f92bd42..9075228d 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS501000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS501000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS601000.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS601000.xml index 593f3d5f..1eb46873 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS601000.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/ScreenWithRights_RS601000.xml @@ -1,6 +1,6 @@ - + - + @@ -18,15 +18,13 @@ - + - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SharedFilter_To_Assign_RS3010PL.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SharedFilter_To_Assign_RS3010PL.xml index 49b44cb8..0e527a8a 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SharedFilter_To_Assign_RS3010PL.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SharedFilter_To_Assign_RS3010PL.xml @@ -1,6 +1,6 @@  - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_0038bd4b_bcab_4c9e_9fbb_078e9799f45b.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_0038bd4b_bcab_4c9e_9fbb_078e9799f45b.xml new file mode 100644 index 00000000..8b7be5ab --- /dev/null +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_0038bd4b_bcab_4c9e_9fbb_078e9799f45b.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + +
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_78cf7b24_102e_432c_a382_b62fefc0fe3b.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_2c8d66af_9dac_4073_a95b_b316e3e7d24e.xml similarity index 80% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_78cf7b24_102e_432c_a382_b62fefc0fe3b.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_2c8d66af_9dac_4073_a95b_b316e3e7d24e.xml index c07770cc..95e310a1 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_78cf7b24_102e_432c_a382_b62fefc0fe3b.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_2c8d66af_9dac_4073_a95b_b316e3e7d24e.xml @@ -1,6 +1,6 @@  - + @@ -25,14 +25,14 @@ - - + + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3b010bc5_a7e4_439d_a84b_3d6338f2763d.xml similarity index 80% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3b010bc5_a7e4_439d_a84b_3d6338f2763d.xml index eefae0ee..8e139caf 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3b010bc5_a7e4_439d_a84b_3d6338f2763d.xml @@ -1,6 +1,6 @@  - + @@ -25,14 +25,14 @@ - - + + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_5911da81_21d4_4358_bed1_ffbcf301ec8e.xml similarity index 79% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_5911da81_21d4_4358_bed1_ffbcf301ec8e.xml index 6ffbe443..e6b1c50a 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_5911da81_21d4_4358_bed1_ffbcf301ec8e.xml @@ -1,6 +1,6 @@  - + @@ -25,14 +25,14 @@ - - + + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8fe7ce11_4d65_4281_9dd0_643e5fc38f88.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8fe7ce11_4d65_4281_9dd0_643e5fc38f88.xml new file mode 100644 index 00000000..69b135f2 --- /dev/null +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8fe7ce11_4d65_4281_9dd0_643e5fc38f88.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml deleted file mode 100644 index 5d5df979..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a62b7043_fcc3_4cc3_920b_ffc3a949d970.xml similarity index 82% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a62b7043_fcc3_4cc3_920b_ffc3a949d970.xml index 9b3d86d6..8097f689 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_a62b7043_fcc3_4cc3_920b_ffc3a949d970.xml @@ -1,6 +1,6 @@  - + @@ -25,14 +25,14 @@ - - + + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_baebb11d_483a_4b77_8052_56e1595828ca.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_baebb11d_483a_4b77_8052_56e1595828ca.xml new file mode 100644 index 00000000..e969973f --- /dev/null +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_baebb11d_483a_4b77_8052_56e1595828ca.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_c55362e5_bba9_4282_8132_702987aceffb.xml similarity index 80% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_c55362e5_bba9_4282_8132_702987aceffb.xml index e55871cb..703ac84d 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_c55362e5_bba9_4282_8132_702987aceffb.xml @@ -1,6 +1,6 @@  - + @@ -25,14 +25,14 @@ - - + + - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8f266edb_b94b_4471_81e4_0f17b6ba8a07.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_dd41d4e4_dfcb_4e63_a903_a16a8ae44aae.xml similarity index 85% rename from ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8f266edb_b94b_4471_81e4_0f17b6ba8a07.xml rename to ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_dd41d4e4_dfcb_4e63_a903_a16a8ae44aae.xml index 385e4c5a..6e7ab2b4 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_8f266edb_b94b_4471_81e4_0f17b6ba8a07.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_dd41d4e4_dfcb_4e63_a903_a16a8ae44aae.xml @@ -1,6 +1,6 @@  - + @@ -25,7 +25,7 @@ - + diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml deleted file mode 100644 index b17e453f..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml +++ /dev/null @@ -1,54 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_fb3cea48_eb71_4dea_838d_914fffcba205.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_fb3cea48_eb71_4dea_838d_914fffcba205.xml new file mode 100644 index 00000000..c063c01e --- /dev/null +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/SiteMapNode_fb3cea48_eb71_4dea_838d_914fffcba205.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/Sql_RSSVRepairService.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/Sql_RSSVRepairService.xml index 243de12e..88e5a46e 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/Sql_RSSVRepairService.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/Sql_RSSVRepairService.xml @@ -20,10 +20,6 @@ - - - - diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml deleted file mode 100644 index 06d426c5..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_in_in202500_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_in_in202500_aspx.xml index 632cdc50..2c8b95ac 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_in_in202500_aspx.xml +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_in_in202500_aspx.xml @@ -1,77 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml deleted file mode 100644 index 83430223..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml deleted file mode 100644 index 021be412..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml deleted file mode 100644 index 779f99d3..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml deleted file mode 100644 index 7fb45d7a..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml deleted file mode 100644 index ec11aa93..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs501000_aspx.xml b/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs501000_aspx.xml deleted file mode 100644 index 9baa0521..00000000 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop/_project/pages_rs_rs501000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj b/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj index 07e276bd..6c3fd7a5 100644 --- a/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj +++ b/ModernUI/T290/SourceFiles/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/PlugInDevelopment/Help/AddingCustomSmsProvider/CustomSmsProvider_Code/CustomSmsProvider/CustomSmsProvider_Code.csproj b/PlugInDevelopment/Help/AddingCustomSmsProvider/CustomSmsProvider_Code/CustomSmsProvider/CustomSmsProvider_Code.csproj index 17116986..98782a45 100644 --- a/PlugInDevelopment/Help/AddingCustomSmsProvider/CustomSmsProvider_Code/CustomSmsProvider/CustomSmsProvider_Code.csproj +++ b/PlugInDevelopment/Help/AddingCustomSmsProvider/CustomSmsProvider_Code/CustomSmsProvider/CustomSmsProvider_Code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/PlugInDevelopment/Help/ImplementingConnector/WooCommerceTest/WooCommerceTest.csproj b/PlugInDevelopment/Help/ImplementingConnector/WooCommerceTest/WooCommerceTest.csproj index fc003802..4a56f098 100644 --- a/PlugInDevelopment/Help/ImplementingConnector/WooCommerceTest/WooCommerceTest.csproj +++ b/PlugInDevelopment/Help/ImplementingConnector/WooCommerceTest/WooCommerceTest.csproj @@ -79,10 +79,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/README.md b/README.md index e583a1e0..b4caa021 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Examples from Acumatica ERP Help and Training Courses -This repository contains examples that are included in the Acumatica ERP developer guides and training courses in Version 2025 R2. +This repository contains examples that are included in the Acumatica ERP developer guides and training courses in Version 2026 R1. Integration development diff --git a/UnitTesting/T280/CodeSnippets/Activity1.1/PhoneRepairShop_Code.Tests.csproj b/UnitTesting/T280/CodeSnippets/Activity1.1/PhoneRepairShop_Code.Tests.csproj index d573d8de..7ed7ef95 100644 --- a/UnitTesting/T280/CodeSnippets/Activity1.1/PhoneRepairShop_Code.Tests.csproj +++ b/UnitTesting/T280/CodeSnippets/Activity1.1/PhoneRepairShop_Code.Tests.csproj @@ -15,10 +15,10 @@ Copyright © 2005-2025 Acumatica, Inc. All rights reserved. - - + + - + all diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/PhoneRepairShop_Code.Tests.csproj b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/PhoneRepairShop_Code.Tests.csproj index d573d8de..7ed7ef95 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/PhoneRepairShop_Code.Tests.csproj +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/PhoneRepairShop_Code.Tests.csproj @@ -15,10 +15,10 @@ Copyright © 2005-2025 Acumatica, Inc. All rights reserved. - - + + - + all diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/packages.config b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/packages.config index 282afdd5..b96af4a6 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/packages.config +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code.Tests/packages.config @@ -1,10 +1,10 @@  - - + + - + diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index c05205d1..73df82cd 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj index 07e276bd..6c3fd7a5 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 2619283a..facb32d8 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -39,6 +39,21 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/UnitTesting/T280/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/.signature.p7s deleted file mode 100644 index e32d4930..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt deleted file mode 100644 index e259b584..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/ASL - Apache Software Foundation License.txt +++ /dev/null @@ -1,57 +0,0 @@ -Apache License, Version 2.0 - -Apache License -Version 2.0, January 2004 -http://www.apache.org/licenses/ - -TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - -1. Definitions. - -"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. - -"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. - -"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. - -"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. - -"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. - -"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. - -"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). - -"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. - -"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." - -"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. - -2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. - -3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. - -4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: - - 1. You must give any other recipients of the Work or Derivative Works a copy of this License; and - - 2. You must cause any modified files to carry prominent notices stating that You changed the files; and - - 3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and - - 4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. - -You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. - -5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. - -6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. - -7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. - -8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. - -9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. - -END OF TERMS AND CONDITIONS diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/CHANGELOG.md b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/CHANGELOG.md deleted file mode 100644 index 19edd614..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/CHANGELOG.md +++ /dev/null @@ -1,441 +0,0 @@ -# Castle Core Changelog - -## 5.1.1 (2022-12-30) - -Bugfixes: -- Proxies using records derived from a base generic record broken using .NET 6 compiler (@CesarD, #632) -- Failure proxying type that has a non-inheritable custom attribute type applied where `null` argument is given for array parameter (@stakx, #637) -- Nested custom attribute types do not get replicated (@stakx, #638) - -## 5.1.0 (2022-08-02) - -Enhancements: -- Support for covariant method returns (@stakx, #619) -- Performance improvement with proxy type generation for class proxies (without target). Abstract class methods now reuse a predefined invocation type (like methods of interface proxies without target; see explanation below at version 5.0.0 enhancements) (@stakx, #626) - -Bugfixes: -- DynamicProxy emits invalid metadata for redeclared event (@stakx, #590) -- Proxies using records with a base class broken using .NET 6 compiler (@ajcvickers, #601) -- `MissingMethodException` when proxying interfaces containing sealed methods (@stakx, #621) - -## 5.0.0 (2022-05-11) - -Enhancements: -- .NET 6.0 support (@Jevonius, #616) -- .NET Standard 2.0 and 2.1 support (@lg2de, #485) -- Non-intercepted methods on a class proxy with target are now forwarded to the target (@stakx, #571) -- Significant performance improvements with proxy type generation for interface proxies without target. Up until now, DynamicProxy generated a separate `IInvocation` implementation type for every single proxied method – it is now able to reuse a single predefined type in many cases, thereby reducing the total amount of dynamic type generation. (@stakx, #573) - -Bugfixes: -- Generic method with differently named generic arguments to parent throws `KeyNotFoundException` (@stakx, #106) -- Proxying certain `[Serializable]` classes produces proxy types that fail PEVerify test (@stakx, #367) -- `private protected` methods are not intercepted (@CrispyDrone, #535) -- `System.UIntPtr` unsupported (@stakx, #546) -- DynamicProxy generates two modules when proceeding from a class proxy's protected method to the target, causing an `InvalidOperationException` when saving the generated assembly to disk (@stakx, #569) -- Upgrade log4net to v2.0.13 (@jonorossi, @stakx, @dschwartzni, #574, #605) - -Deprecations: -- Removed support for the .NET Framework < 4.6.2 and .NET Standard 1.x. (@stakx, #495, #496; @Jevonius, #614) -- Removed support for Code Access Security (CAS). (@stakx, #502) -- Removed support for Remoting. This library no longer defines any types deriving from `MarshalByRefObject`, and `ProxyUtil.IsProxy` (which used to recognize remoting/"transparent" proxies) now tests only for DynamicProxy proxies. (@stakx, #507) -- The following public members have been removed: - - `Castle.Core.Internal.CollectionExtensions` (class) - - `Castle.Core.Internal.Lock` (class) along with all related types and methods - - `Castle.Core.Internal.PermissionUtil.IsGranted` (method) - - `Castle.Core.Pair<,>` (type). Use `System.ValueTuple<,>` or `System.Tuple<,>` instead. - - all type members in `Castle.DynamicProxy.ModuleScope` that gave direct access to DynamicProxy's type cache and `ModuleBuilder`s. Only `SaveAssembly`, `LoadAssemblyIntoCache`, and members supporting these two facilities are left public. - - almost all types and type members in the `Castle.DynamicProxy.*` sub-namespaces, as most of them are intended for internal use only. - - DynamicProxy's custom exception types have been replaced by standard BCL exceptions (where appropriate), and by a single `DynamicProxyException` type for internal DynamicProxy errors. - -## 4.4.1 (2020-05-06) - -Bugfixes: -- Prevent method name collisions when a proxy type implements more than two identically named interfaces having one or more identically named methods each. Name collisions are avoided by including the declaring types' namespaces in the proxy type's method names. (@stakx, #469) -- Reduce lock contention while generating new proxy types which previously blocked new proxy instances (@tangdf, #484) -- Fix mixins where proxy constructor fields were ordered differently to interfaces because of different case comparisons (@zapov, #475) -- Fix proxy generation for types having only a `private protected` constructor (@mriehm, #491) - -## 4.4.0 (2019-04-05) - -Enhancements: -- Added trace logging level below Debug; maps to Trace in log4net/NLog, and Verbose in Serilog (@pi3k14, #404) -- Recognize read-only parameters by the `In` modreq (@zvirja, #406) -- DictionaryAdapter: Exposed GetAdapter overloads with NameValueCollection parameter in .NET Standard (@rzontar, #423) -- Ability to add delegate mixins to proxies using `ProxyGenerationOptions.AddDelegate[Type]Mixin`. You can bind to the mixed-in `Invoke` methods on the proxy using `ProxyUtil.CreateDelegateToMixin`. (@stakx, #436) -- New `IInvocation.CaptureProceedInfo()` method to enable better implementations of asynchronous interceptors (@stakx, #439) - -Deprecations: -- The API surrounding `Lock` has been deprecated. This consists of the members listed below. Consider using the Base Class Library's `System.Threading.ReaderWriterLockSlim` instead. (@stakx, #391) - - `Castle.Core.Internal.Lock` (class) - - `Castle.Core.Internal.ILockHolder` (interface) - - `Castle.Core.Internal.IUpgradeableLockHolder` (interface) -- You should no longer manually emit types into DynamicProxy's dynamic assembly. For this reason, the following member has been deprecated. (@stakx, #445) - - `Castle.DynamicProxy.ModuleScope.DefineType` (method) -- The proxy type cache in `ModuleScope` should no longer be accessed directly. For this reason, the members listed below have been deprecated. (@stakx, #391) - - `Castle.DynamicProxy.ModuleScope.Lock` (property) - - `Castle.DynamicProxy.ModuleScope.GetFromCache` (method) - - `Castle.DynamicProxy.ModuleScope.RegisterInCache` (method) - - `Castle.DynamicProxy.Generators.BaseProxyGenerator.AddToCache` (method) - - `Castle.DynamicProxy.Generators.BaseProxyGenerator.GetFromCache` (method) - - `Castle.DynamicProxy.Generators.CacheKey` (class) - - `Castle.DynamicProxy.Serialization.CacheMappingsAttribute.ApplyTo` (method) - - `Castle.DynamicProxy.Serialization.CacheMappingsAttribute.GetDeserializedMappings` (method) - -## 4.3.1 (2018-06-21) - -Enhancements: - - Use shared read locking to reduce lock contention in InvocationHelper and ProxyUtil (@TimLovellSmith, #377) - -Bugfixes: -- Prevent interceptors from being able to modify `in` parameters (@stakx, #370) -- Make default value replication of optional parameters more tolerant of default values that are represented in metadata with a mismatched type (@stakx, #371) -- Fix a concurrency issue (writing without taking a write lock first) in `BaseProxyGenerator.ObtainProxyType` (@stakx, #383) - -Deprecations: -- `Castle.DynamicProxy.Generators.Emitters.ArgumentsUtil.IsAnyByRef` (@stakx, #370) - -## 4.3.0 (2018-06-07) - -Enhancements: -- Added .NET Standard/.NET Core support for NLog (@snakefoot, #200) -- Added .NET Standard/.NET Core support for log4net (@snakefoot, #201) -- DynamicProxy supported C# `in` parameter modifiers only on the .NET Framework up until now. Adding .NET Standard 1.5 as an additional target to the NuGet package makes them work on .NET Core, too (@stakx, #339) -- Replicate custom attributes on constructor parameters in the generated proxy type constructors to fulfill introspection of constructors. This does not change the proxying behavior. (@stakx, #341) -- Improve performance of InvocationHelper cache lookups (@tangdf, #358) -- Improve fidelity of default value replication of optional parameters to fulfill inspection of the generated proxies. This does not change the proxying behavior. (@stakx, #356) -- Improve cache performance of MethodFinder.GetAllInstanceMethods (@tangdf, #357) - -Bugfixes: -- Fix Castle.Services.Logging.Log4netIntegration assembly file name casing which breaks on Linux (@beginor, #324) -- Fix Castle.DynamicProxy.Generators.AttributesToAvoidReplicating not being thread safe (InvalidOperationException "Collection was modified; enumeration operation may not execute.") (@BrunoJuchli, #334) -- Fix TraceLoggerFactory to allow specifying the default logger level (@acjh, #342) -- Ensure that DynamicProxy doesn't create invalid dynamic assemblies when proxying types from non-strong-named assemblies (@stakx, #327) -- Fix interceptor selectors being passed `System.RuntimeType` for class proxies instead of the target type (@stakx, #359) -- Replace NullReferenceException with descriptive one thrown when interceptors swallow exceptions and cause a null value type to be returned (@jonorossi, #85) - -## 4.2.1 (2017-10-11) - -Bugfixes: -- Add missing equality checks in `MethodSignatureComparer.EqualSignatureTypes` to fix `TypeLoadException`s ("Method does not have an implementation") (@stakx, #310) -- Add missing XML documentation files to NuGet packages (@fir3pho3nixx, #312) - -## 4.2.0 (2017-09-28) - -Enhancements: -- Add IProxyTargetAccessor.DynProxySetTarget to set the target of a proxy (@yallie, #293) -- Internal dynamic proxy fields are now private instead of public (@spencercw, #260) - -Bugfixes: -- Make ProxyUtil.IsAccessible(MethodBase) take into account declaring type's accessibility so it doesn't report false negatives for e.g. public methods in inaccessible classes. (@stakx, #289) -- Fix InvalidCastException calling IChangeProxyTarget.ChangeProxyTarget proxying generic interfaces (@yallie, #293) -- Ignore minor/patch level version for AssemblyVersionAttribute as this creates binding errors for downstream libraries (@fir3pho3nixx, #288) -- Fix DictionaryAdapter firing NotifyPropertyChang(ed/ing) events after CancelEdit (@Lakritzator, #299) -- Fix ArgumentException when overriding method with nested generics (@BitWizJason, #297) -- Explicit package versioning applied within solution to avoid maligned NuGet upgrades for lock step versioned packages. (@fir3pho3nixx, #292) - -Deprecations: -- IChangeProxyTarget.ChangeProxyTarget is deprecated in favor of IProxyTargetAccessor.DynProxySetTarget (@yallie, #293) - -## 4.1.1 (2017-07-12) - -Bugfixes: -- Prevent member name collision when proxy implements same generic interface more than twice (@stakx, #88) -- Fix incorrect replication (reversed order) of custom modifiers (modopts and modreqs) on the CLR, does not work yet on Mono (@stakx, #277) -- Fix COM interface proxy error case throwing exceptions trying to release null pointer from QueryInterface (@stakx, #281) - -## 4.1.0 (2017-06-11) - -Breaking Changes: -- Remove AllowPartiallyTrustedCallersAttribute, which wasn't defined by default (@fir3pho3nixx, #241) -- Upgrade log4net to v2.0.8 (@fir3pho3nixx, #241) - -Enhancements: -- Add ProxyUtil.IsAccessible to check if a method is accessible to DynamicProxyGenAssembly2 (Blair Conrad, #235) -- Refactor build engineering to support AppVeyor and TravisCI (@fir3pho3nixx, #241) - -Bugfixes: -- Fix order of class proxy constructor arguments when using multiple mixins (@sebastienros, #230) -- Fix dependency on "System.ComponentModel.TypeConverter" NuGet package version that does not exist (#239) -- Fix ParamArrayAttribute not being replicated in proxy (@stakx, #121) -- Fix System.Net.Mail.SmtpClient is obsolete on Mono warning (#254) - -## 4.0.0 (2017-01-25) - -Breaking Changes: -- Update to NLog 4.4.1 and remove beta .NET Core support for NLog (#228) -- Update to log4net 2.0.7 (#229) - -Bugfixes: -- Fix CustomAttributeInfo.FromExpression for VB.NET (@thomaslevesque, #223) - -## 4.0.0-beta002 (2016-10-28) - -Breaking Changes: -- Rework Serilog integration to accept an ILogger rather than a LoggerConfiguration to work correctly with Serilog (#142, #211) -- Remove obsolete property `AttributesToAddToGeneratedTypes` from `ProxyGenerationOptions` (#219) -- Change type of `ProxyGenerationOptions.AdditionalAttributes` to `IList` (#219) -- Remove `IAttributeDisassembler` which is no longer necessary (#219) - -Enhancements: -- Add IProxyGenerator interface for the ProxyGenerator class (#215) -- Improve default list of attributes to avoid replicating. Code Access Security attributes and MarshalAsAttribute will no longer be replicated (#221) - -Bugfixes: -- Fix building on Mono 4.6.1 -- Different attributes in `ProxyGenerationOptions.AdditionalAttributes` now generates different proxy types (#219) - -## 4.0.0-beta001 (2016-07-17) - -Breaking Changes: -- Update to log4net 1.2.15/2.0.5 (#199) -- Update to NLog 4.4.0-beta13 (#199) -- Update to Serilog 2.0.0 (#199) - -Enhancements: -- .NET Core 1.0 and .NET Standard 1.3 support (Jonathon Rossi, Jeremy Meng) -- Restore DynamicDictionary class - -Bugfixes: -- Fix target framework moniker in NuGet package for .NET Core (#174) - -## 4.0.0-alpha001 (2016-04-07) - -Breaking Changes: -- Remove all Silverlight support (#100, #150) -- Remove DynamicProxy's RemotableInvocation and remoting support for invocations (#110, #65) - -Enhancements: -- .NET Core DNX and dotnet5.4 support via feature conditional compilation (Jonathon Rossi, Jeremy Meng) -- Build script improvements and consolidate version numbers (Blair Conrad, #75, #152, #153) - -Bugfixes: -- Fix 'System.ArgumentException: Constant does not match the defined type' with optional, nullable enum method parameters (Daniel Yankowsky, #141, #149) -- Fix proxy generation hook notification for virtual but final methods (Axel Heer, #148) -- Fix InvalidCastException with custom attribute having an enum array parameter with non-int enum (@csharper2010, #104, #105) -- Update to Mono 4.0.2 and improve Mono support (#79, #95, #102) -- Fix 'System.ArrayTypeMismatchException: Source array type cannot be assigned to destination array type' on Mono (#81) -- Fix 'System.ArgumentException: System.Decimal is not a supported constant type' with optional method parameters (@fknx, #87, #91) -- Fix ProxyGenerator cache does not take into account AdditionalAttributes (@cmerat, #77, #78) -- Fix Castle.Services.Logging.SerilogIntegration.dll missing some assembly info attributes (@imzshh, #20, #82) - -## 3.3.3 (2014-11-06) -- Fix Serilog integration modifies LoggerConfiguration.MinimumLevel (#70) -- Add SourceContext to the Serilog logger (@KevivL, #69) - -## 3.3.2 (2014-11-03) -- fixed #66 - SerilogLogger implementation bug where exceptions were passed through incorrectly - -## 3.3.1 (2014-09-10) -- implemented #61 - Added support for Serilog - contributed by Russell J Baker (@ruba1987) - -## 3.3.0 (2014-04-27) -- implemented #51 - removed abandoned projects: Binder, Pagination, Validator -- implemented #49 - build NuGet and Zip packages from TeamCity - contributed by Blair Conrad (@blairconrad) -- implemented #42 - move complicated BuildInternalsVisibleMessageForType method out of DynamicProxyBuilder - contributed by Blair Conrad (@blairconrad) -- fixed #47 - Calling DynamicProxy proxy methods with multidimensional array parameters - contributed by Ed Parcell (@edparcell) -- fixed #44 - DictionaryAdapter FetchAttribute on type has no effect -- fixed #34 and #39 - inaccessible type parameters should give better error messages - contributed by Blair Conrad (@blairconrad) - -## 3.2.2 (2013-11-30) -- fixed #35 - ParameterBuilder.SetConstant fails when using a default value of null - contributed by (@jonasro) - -## 3.2.1 (2013-10-05) -- fixed #32 - Improve configuration of SmtpClient in sync sending - contributed by Artur Dorochowicz (@ArturDorochowicz) -- fixed #31 - [DynamicProxy] Preserve DefaultValues of proxied method's parameters (in .NET 4.5) -- fixed #30 - tailoring InternalsVisibleTo message based on assembly of inaccessible type - contributed by Blair Conrad (@blairconrad) -- fixed #27 - Allow dynamic proxy of generic interfaces which have generic methods, under Mono 2.10.8 and Mono 3.0.6 - contributed by Iain Ballard (@i-e-b) -- fixed #26 - Proxy of COM class issue, reference count incremented - contributed by Jean-Claude Viau (@jcviau) -- fixed DYNPROXY-188 - CreateInterfaceProxyWithoutTarget fails with interface containing member with 'ref UIntPtr' - contributed by Pier Janssen (@Pjanssen) -- fixed DYNPROXY-186 - .Net remoting (transparent proxy) cannot be proxied - contributed by Jean-Claude Viau (@jcviau) -- fixed DYNPROXY-185 - ProxyUtil.GetUnproxiedInstance returns proxy object for ClassProxyWithTarget instead of its target - contributed by Dmitry Xlestkov (@d-s-x) - -## 3.2.0 (2013-02-16) -- fixed DYNPROXY-179 - Exception when creating a generic proxy (from cache) -- fixed DYNPROXY-175 - invalid CompositionInvocation type used when code uses interface proxies with and without InterceptorSelector - -## 3.1.0 (2012-08-05) -- fixed DYNPROXY-174 - Unable to cast object of type 'System.Collections.ObjectModel.ReadOnlyCollection\`1[System.Reflection.CustomAttributeTypedArgument]' to type 'System.Array' - -## 3.1.0 RC (2012-07-08) -- support multiple inheritance of DA attributes on interfaces. -- BREAKING CHANGE: removed propagated child notifications as it violated INotifyPropertyChanged contract -- improved DictionaryAdapter performance -- generalized IBindingList support for DictionaryAdapters -- added reference support to XmlAdapter -- BREAKING CHANGE: refactored XPathAdapter into XmlAdapter with much more flexibility to support other input like XLinq -- implemented CORE-43 - Add option to skip configuring log4net/nlog -- fixed CORE-44 - NLog logger does not preserver call site info -- fixed DYNPROXY-171 - PEVerify error on generic method definition -- fixed DYNPROXY-170 - Calls to properties inside non-intercepted methods are not forwarded to target object (regression from v2.5) -- fixed DYNPROXY-169 - Support IChangeProxyTarget on additional interfaces and mixins when using CreateInterfaceProxyWithTargetInterface - -## 3.0.0 (2011-12-13) -- no major changes since RC - -## 3.0.0 RC 1 (2011-11-20) -- Applied Jeff Sharps patch that refactored Xml DictionaryAdapter to improve maintainability and enable more complete functionality -- fixed DYNPROXY-165 - Object.GetType() and Object.MemberwiseClone() should be ignored and not reported as non-interceptable to IProxyGenerationHook -- fixed DYNPROXY-164 - Invalid Proxy type generated when there are more than one base class generic constraints -- fixed DYNPROXY-162 - ref or out parameters can not be passed back if proxied method throw an exception - -## 3.0.0 beta 1 (2011-08-14) - -Breaking Changes: -* Removed overloads of logging methods that were taking format string from ILogger and ILogger and IExtendedLogger and didn't have word Format in their name. - * For example: - * void Error(string format, params object[] args); // was removed - * void ErrorFormat(string format, params object[] args); //use this one instead - * impact - low - * fixability - medium - * description - To minimize confusion and duplication those methods were removed. - * fix - Use methods that have explicit "Format" word in their name and same signature. -* Removed WebLogger and WebLoggerFactory - * impact - low - * fixability - medium - * description - To minimize management overhead the classes were removed so that only single Client Profile version of Castle.Core can be distributed. - * fix - You can use NLog or Log4Net web logger integration, or reuse implementation of existing web logger and use it as a custom logger. -* Removed obsolete overload of ProxyGenerator.CreateClassProxy - * impact - low - * fixability - trivial - * description - Deprecated overload of ProxyGenerator.CreateClassProxy was removed to keep the method consistent with other methods and to remove confusion - * fix - whenever removed overload was used, use one of the other overloads. -* IProxyGenerationHook.NonVirtualMemberNotification method was renamed - * impact - high - * fixability - easy - * description - to accommodate class proxies with target method NonVirtualMemberNotification on IProxyGenerationHook type was renamed to more accurate - NonProxyableMemberNotification since for class proxies with target not just methods but also fields and other member that break the abstraction will - be passed to this method. - * fix - whenever NonVirtualMemberNotification is used/implemented change the method name to - NonProxyableMemberNotification. Implementors should also accommodate possibility that not - only MethodInfos will be passed as method's second parameter. -* DynamicProxy will now allow to intercept members of System.Object - * impact - very low - * fixability - easy - * description - to allow scenarios like mocking of System.Object members, DynamicProxy will not - disallow proxying of these methods anymore. AllMethodsHook (default IProxyGenerationHook) - will still filter them out though. - * fix - whenever custom IProxyGenerationHook is used, user should account for System.Object's - members being now passed to ShouldInterceptMethod and NonVirtualMemberNotification methods - and if necessary update the code to handle them appropriately. - -Bugfixes: -- fixed CORE-37 - TAB characters in the XML Configuration of a component parameter is read as String.Empty -- fixed DYNPROXY-161 - Strong Named DynamicProxy Assembly Not Available in Silverlight -- fixed DYNPROXY-159 - Sorting MemberInfo array for serialization has side effects -- fixed DYNPROXY-158 - Can't create class proxy with target and without target in same ProxyGenerator -- fixed DYNPROXY-153 - When proxying a generic interface which has an interface as GenericType . No proxy can be created -- fixed DYNPROXY-151 - Cast error when using attributes -- implemented CORE-33 - Add lazy logging -- implemented DYNPROXY-156 - Provide mechanism for interceptors to implement retry logic -- removed obsolete members from ILogger and its implementations - -## 2.5.2 (2010-11-15) -- fixed DYNPROXY-150 - Finalizer should not be proxied -- implemented DYNPROXY-149 - Make AllMethodsHook members virtual so it can be used as a base class -- fixed DYNPROXY-147 - Can't create class proxies with two non-public methods having same argument types but different return type -- fixed DYNPROXY-145 Unable to proxy System.Threading.SynchronizationContext (.NET 4.0) -- fixed DYNPROXY-144 - params argument not supported in constructor -- fixed DYNPROXY-143 - Permit call to reach "non-proxied" methods of inherited interfaces -- implemented DYNPROXY-139 - Better error message -- fixed DYNPROXY-133 - Debug assertion in ClassProxyInstanceContributor fails when proxying ISerializable with an explicit implementation of GetObjectData -- fixed CORE-32 - Determining if permission is granted via PermissionUtil does not work in .NET 4 -- applied patch by Alwin Meijs - ExtendedLog4netFactory can be configured with a stream from for example an embedded log4net xml config -- Upgraded NLog to 2.0 Beta 1 -- Added DefaultXmlSerializer to bridge XPathAdapter with standard Xml Serialization. -- XPathAdapter for DictionaryAdapter added IXPathSerializer to provide hooks for custom serialization. - -## 2.5.1 (2010-09-21) -- Interface proxy with target Interface now accepts null as a valid target value (which can be replaced at a later stage). -- DictionaryAdapter behavior overrides are now ordered with all other behaviors -- BREAKING CHANGE: removed web logger so that by default Castle.Core works in .NET 4 client profile -- added parameter to ModuleScope disabling usage of signed modules. This is to workaround issue DYNPROXY-134. Also a descriptive exception message is being thrown now when the issue is detected. -- Added IDictionaryBehaviorBuilder to allow grouping behaviors -- Added GenericDictionaryAdapter to simplify generic value sources -- fixed issue DYNPROXY-138 - Error message missing space -- fixed false positive where DynamicProxy would not let you proxy interface with target interface when target object was a COM object. -- fixed ReflectionBasedDictionaryAdapter when using indexed properties - -## 2.5.0 (2010-08-21) -- DynamicProxy will now not replicate non-public attribute types -- Applied patch from Kenneth Siewers Møller which adds parameterless constructor to DefaultSmtpSender implementation, to be able to configure the inner SmtpClient from the application configuration file (system.net.smtp). -- added support for .NET 4 and Silverlight 4, updated solution to VisualStudio 2010 -- Removed obsolete overload of CreateClassProxy -- Added class proxy with target -- Added ability to intercept explicitly implemented generic interface methods on class proxy. -- DynamicProxy does not disallow intercepting members of System.Object anymore. AllMethodsHook will still filter them out though. -- Added ability to intercept explicitly implemented interface members on class proxy. Does not support generic members. -- Merged DynamicProxy into Core binary -- fixed DYNPROXY-ISSUE-132 - "MetaProperty equals implementation incorrect" -- Fixed bug in DiagnosticsLoggerTestCase, where when running as non-admin, the teardown will throw SecurityException (contributed by maxild) -- Split IoC specific classes into Castle.Windsor project -- Merged logging services solution -- Merged DynamicProxy project - -## 1.2.0 (2010-01-11) -- Added IEmailSender interface and its default implementation - -## 1.2.0 beta (2009-12-04) -- BREAKING CHANGE - added ChangeProxyTarget method to IChangeProxyTarget interface -- added docs to IChangeProxyTarget methods -- Fixed DYNPROXY-ISSUE-108 - Obtaining replicated custom attributes on proxy may fail when property setter throws exception on default value -- Moved custom attribute replication from CustomAttributeUtil to new interface - IAttributeDisassembler -- Exposed IAttributeDisassembler via ProxyGenerationOptions, so that users can plug their implementation for some convoluted scenarios. (for Silverlight) -- Moved IInterceptorSelector from Dynamic Proxy to Core (IOC-ISSUE-156) - -## 1.1.0 (2009-05-04) -- Applied Eric Hauser's patch fixing CORE-ISSUE-22 - "Support for environment variables in resource URI" -- Applied Gauthier Segay's patch fixing CORE-ISSUE-20 - "Castle.Core.Tests won't build via nant because it use TraceContext without referencing System.Web.dll" -- Added simple interface to ComponentModel to make optional properties required. -- Applied Mark's -- -- patch that changes - the Core to support being compiled for Silverlight 2 -- Applied Louis DeJardin's patch adding TraceLogger as a new logger implementation -- Applied Chris Bilson's patch fixing CORE-15 - "WebLogger Throws When Logging Outside of an HttpContext" - -## Release Candidate 3 -- Added IServiceProviderEx which extends IServiceProvider -- Added Pair class. -- Applied Bill Pierce's patch fixing CORE-9 - "Allow CastleComponent Attribute to Specify Lifestyle in Constructor" -- Added UseSingleInterfaceProxy to CompomentModel to control the proxying - behavior while maintaining backward compatibility. - Added the corresponding ComponentProxyBehaviorAttribute. -- Made NullLogger and IExtnededLogger -- Enabled a new format on ILogger interface, with 6 overloads for each method: - - Debug(string) - - Debug(string, Exception) - - Debug(string, params object[]) - - DebugFormat(string, params object[]) - - DebugFormat(Exception, string, params object[]) - - DebugFormat(IFormatProvider, string, params object[]) - - DebugFormat(IFormatProvider, Exception, string, params object[]) - - The "FatalError" overloads where marked as [Obsolete], replaced by "Fatal" and "FatalFormat". - -## 0.0.1.0 -- Included IProxyTargetAccessor -- Removed IMethodInterceptor and IMethodInvocation, that have been replaced by IInterceptor and IInvocation -- Added FindByPropertyInfo to PropertySetCollection -- Made the DependencyModel.IsOptional property writable -- Applied Curtis Schlak's patch fixing IOC-27 - "assembly resource format only works for resources where the assemblies name and default namespace are the same." - - Quoting: - - "I chose to preserve backwards compatibility by implementing the code in the - reverse order as suggested by the reporter. Given the following URI for a resource: - - assembly://my.cool.assembly/context/moo/file.xml - - It will initially look for an embedded resource with the manifest name of - "my.cool.assembly.context.moo.file.xml" in the loaded assembly my.cool.assembly.dll. - If it does not find it, then it looks for the embedded resource with the manifest name - of "context.moo.file.xml". -- IServiceEnabledComponent Introduced to be used across the project as - a standard way to have access to common services, for example, logger factories -- Added missing log factories -- Refactor StreamLogger and DiagnosticLogger to be more consistent behavior-wise -- Refactored WebLogger to extend LevelFilteredLogger (removed duplication) -- Refactored LoggerLevel order -- Project started diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg deleted file mode 100644 index d28ec228..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/Castle.Core.5.1.1.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/LICENSE b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/LICENSE deleted file mode 100644 index c8680e41..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/LICENSE +++ /dev/null @@ -1,13 +0,0 @@ -Copyright 2004-2021 Castle Project - http://www.castleproject.org/ - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/castle-logo.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/castle-logo.png deleted file mode 100644 index 6ca6bfbc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/castle-logo.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll deleted file mode 100644 index b53eb4f3..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml deleted file mode 100644 index 46342312..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net462/Castle.Core.xml +++ /dev/null @@ -1,6058 +0,0 @@ - - - - Castle.Core - - - - - Abstract adapter for the support - needed by the - - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - An element with the same key already exists in the object. - key is null. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Returns an object for the object. - - - An object for the object. - - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - The object is read-only.-or- The has a fixed size. - key is null. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets or sets the with the specified key. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in array at which copying begins. - array is null. - The type of the source cannot be cast automatically to the type of the destination array. - index is less than zero. - array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Abstract implementation of . - - - - - Identifies a property should be represented as a nested component. - - - - - Applies no prefix. - - - - - Gets or sets the prefix. - - The prefix. - - - - Identifies the dictionary adapter types. - - - - - Assigns a specific dictionary key. - - - - - Identifies an interface or property to be pre-fetched. - - - - - Instructs fetching to occur. - - - - - Instructs fetching according to - - - - - Gets whether or not fetching should occur. - - - - - Assigns a property to a group. - - - - - Constructs a group assignment. - - The group name. - - - - Constructs a group assignment. - - The group name. - - - - Gets the group the property is assigned to. - - - - - Suppresses any on-demand behaviors. - - - - - Assigns a specific dictionary key. - - - - - Initializes a new instance of the class. - - The key. - - - - Initializes a new instance of the class. - - The compound key. - - - - Assigns a prefix to the keyed properties of an interface. - - - Key prefixes are not inherited by sub-interfaces. - - - - - Initializes a default instance of the class. - - - - - Initializes a new instance of the class. - - The prefix for the keyed properties of the interface. - - - - Gets the prefix key added to the properties of the interface. - - - - - Substitutes part of key with another string. - - - - - Initializes a new instance of the class. - - The old value. - The new value. - - - - Requests support for multi-level editing. - - - - - Generates a new GUID on demand. - - - - - Support for on-demand value resolution. - - - - - Specifies assignment by reference rather than by copying. - - - - - Removes a property if matches value. - - - - - Removes a property if null or empty string, guid or collection. - - - - - Provides simple string formatting from existing properties. - - - - - Gets the string format. - - - - - Gets the format properties. - - - - - Identifies a property should be represented as a delimited string value. - - - - - Gets the separator. - - - - - Converts all properties to strings. - - - - - Gets or sets the format. - - The format. - - - - Suppress property change notifications. - - - - - Assigns a prefix to the keyed properties using the interface name. - - - - - Indicates that underlying values are changeable and should not be cached. - - - - - Initializes a new instance of the class - that represents a child object in a larger object graph. - - - - - Manages conversion between property values. - - - - - Initializes a new instance of the class. - - The converter. - - - - - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Uses Reflection.Emit to expose the properties of a dictionary - through a dynamic implementation of a typed interface. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wraps a with a dynamic object to expose a bit better looking API. - The implementation is trivial and assumes keys are s. - - - - - Contract for manipulating the Dictionary adapter. - - - - - Defines the contract for building typed dictionary adapters. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - The property descriptor. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets the associated with the type. - - The typed interface. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - The property descriptor. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - Another from which to copy behaviors. - The adapter meta-data. - - - - Contract for traversing a . - - - - - Defines the contract for customizing dictionary access. - - - - - Determines relative order to apply related behaviors. - - - - - Copies the dictionary behavior. - - null if should not be copied. Otherwise copy. - - - - Defines the contract for building s. - - - - - Builds the dictionary behaviors. - - - - - Contract for creating additional Dictionary adapters. - - - - - Contract for editing the Dictionary adapter. - - - - - Contract for dictionary initialization. - - - - - Performs any initialization of the - - The dictionary adapter. - The dictionary behaviors. - - - - Defines the contract for building typed dictionary keys. - - - - - Builds the specified key. - - The dictionary adapter. - The current key. - The property. - The updated key - - - - Contract for dictionary meta-data initialization. - - - - - Initializes the given object. - - The dictionary adapter factory. - The dictionary adapter meta. - - - - - Determines whether the given behavior should be included in a new - object. - - A dictionary behavior or annotation. - True if the behavior should be included; otherwise, false. - - behaviors are always included, - regardless of the result of this method. - - - - - - Contract for managing Dictionary adapter notifications. - - - - - Defines the contract for retrieving dictionary values. - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Defines the contract for updating dictionary values. - - - - - Sets the stored dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if the property should be stored. - - - - Contract for validating Dictionary adapter. - - - - - Contract for dictionary validation. - - - - - Determines if is valid. - - The dictionary adapter. - true if valid. - - - - Validates the . - - The dictionary adapter. - The error summary information. - - - - Validates the for a property. - - The dictionary adapter. - The property to validate. - The property summary information. - - - - Invalidates any results cached by the validator. - - The dictionary adapter. - - - - Contract for property descriptor initialization. - - - - - Performs any initialization of the - - The property descriptor. - The property behaviors. - - - - - - - - - Initializes a new instance of the class. - - The name values. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Gets or sets the with the specified key. - - - - - Adapts the specified name values. - - The name values. - - - - Describes a dictionary property. - - - - - Initializes an empty class. - - - - - Initializes a new instance of the class. - - The property. - The annotations. - - - - Initializes a new instance class. - - - - - Copies an existing instance of the class. - - - - - - - - - - Gets the property name. - - - - - Gets the property type. - - - - - Gets the property. - - The property. - - - - Returns true if the property is dynamic. - - - - - Gets additional state. - - - - - Determines if property should be fetched. - - - - - Determines if property must exist first. - - - - - Determines if notifications should occur. - - - - - Gets the property behaviors. - - - - - Gets the type converter. - - The type converter. - - - - Gets the extended properties. - - - - - Gets the setter. - - The setter. - - - - Gets the key builders. - - The key builders. - - - - Gets the setter. - - The setter. - - - - Gets the getter. - - The getter. - - - - Gets the initializers. - - The initializers. - - - - Gets the meta-data initializers. - - The meta-data initializers. - - - - Gets the key. - - The dictionary adapter. - The key. - The descriptor. - - - - Gets the property value. - - The dictionary adapter. - The key. - The stored value. - The descriptor. - true if return only existing. - - - - Sets the property value. - - The dictionary adapter. - The key. - The value. - The descriptor. - - - - Adds a single behavior. - - The behavior. - - - - Adds the behaviors. - - The behaviors. - - - - Adds the behaviors. - - The behaviors. - - - - Copies the behaviors to the other - - - - - Copies the - - - - - Provides a generic collection that supports data binding. - - - This class wraps the CLR - in order to implement the Castle-specific . - - The type of elements in the list. - - - - Initializes a new instance of the class - using default values. - - - - - Initializes a new instance of the class - with the specified list. - - - An of items - to be contained in the . - - - - - Initializes a new instance of the class - wrapping the specified instance. - - - A - to be wrapped by the . - - - - - Contract for value matching. - - - - - Contract for dynamic value resolution. - - - - - Contract for typed dynamic value resolution. - - - - - - This is an abstract implementation - that deals with methods that can be abstracted away - from underlying implementations. - - - AbstractConfiguration makes easier to implementers - to create a new version of - - - - - Gets node attributes. - - - All attributes of the node. - - - - - Gets all child nodes. - - The of child nodes. - - - - Gets the name of the . - - - The Name of the . - - - - - Gets the value of . - - - The Value of the . - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - A collection of objects. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Creates a new instance of ConfigurationCollection. - - - - - is a interface encapsulating a configuration node - used to retrieve configuration values. - - - - - Gets the name of the node. - - - The Name of the node. - - - - - Gets the value of the node. - - - The Value of the node. - - - - - Gets an of - elements containing all node children. - - The Collection of child nodes. - - - - Gets an of the configuration attributes. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - Initializes a new instance of the class. - - The name. - - - - Gets the value of . - - - The Value of the . - - - - - Deserializes the specified node into an abstract representation of configuration. - - The node. - - - - If a config value is an empty string we return null, this is to keep - backward compatibility with old code - - - - - Helper class for retrieving attributes. - - - - - Gets the attribute. - - The type. - The type attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The type. - The type attributes. - - - - Gets the attribute. - - The member. - The member attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The member. - The member attributes. - - - - Gets the type attribute. - - The type. - The type attribute. - - - - Gets the type attributes. - - The type. - The type attributes. - - - - Gets the type converter. - - The member. - - - - Constant to use when making assembly internals visible to Castle.Core - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] - - - - - Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] - - - - - Find the best available name to describe a type. - - - Usually the best name will be , but - sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) - in which case the method falls back to . - - the type to name - the best name - - - - Defines that the implementation wants a - in order to - access other components. The creator must be aware - that the component might (or might not) implement - the interface. - - - Used by Castle Project components to, for example, - gather logging factories - - - - - Increments IServiceProvider with a generic service resolution operation. - - - - - This interface should be implemented by classes - that are available in a bigger context, exposing - the container to different areas in the same application. - - For example, in Web application, the (global) HttpApplication - subclasses should implement this interface to expose - the configured container - - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Gets the configuration file. - - i.e. log4net.config - - - - Gets the configuration file. - - i.e. log4net.config - - - - The Logger sending everything to the standard output streams. - This is mainly for the cases when you have a utility that - does not have a logger to supply. - - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug and the Name - set to string.Empty. - - - - - Creates a new ConsoleLogger with the Name - set to string.Empty. - - The logs Level. - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug. - - The logs Name. - - - - Creates a new ConsoleLogger. - - The logs Name. - The logs Level. - - - - A Common method to log. - - The level of logging - The name of the logger - The Message - The Exception - - - - Returns a new ConsoleLogger with the name - added after this loggers name, with a dot in between. - - The added hierarchical name. - A new ConsoleLogger. - - - - The Logger using standard Diagnostics namespace. - - - - - Creates a logger based on . - - - - - - Creates a logger based on . - - - - - - - Creates a logger based on . - - - - - - - - Interface for Context Properties implementations - - - - This interface defines a basic property get set accessor. - - - Based on the ContextPropertiesBase of log4net, by Nicko Cadell. - - - - - - Gets or sets the value of a property - - - The value for the property with the specified key - - - - Gets or sets the value of a property - - - - - - Provides an interface that supports and - allows the storage and retrieval of Contexts. These are supported in - both log4net and NLog. - - - - - Exposes the Global Context of the extended logger. - - - - - Exposes the Thread Context of the extended logger. - - - - - Exposes the Thread Stack of the extended logger. - - - - - Provides a factory that can produce either or - classes. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Manages logging. - - - This is a facade for the different logging subsystems. - It offers a simplified interface that follows IOC patterns - and a simplified priority/level/severity abstraction. - - - - - Determines if messages of priority "trace" will be logged. - - True if "trace" messages will be logged. - - - - Determines if messages of priority "debug" will be logged. - - True if "debug" messages will be logged. - - - - Determines if messages of priority "error" will be logged. - - True if "error" messages will be logged. - - - - Determines if messages of priority "fatal" will be logged. - - True if "fatal" messages will be logged. - - - - Determines if messages of priority "info" will be logged. - - True if "info" messages will be logged. - - - - Determines if messages of priority "warn" will be logged. - - True if "warn" messages will be logged. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - If the name has an empty element name. - - - - Logs a trace message. - - The message to log - - - - Logs a trace message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs a info message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Manages the instantiation of s. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - The Level Filtered Logger class. This is a base class which - provides a LogLevel attribute and reroutes all functions into - one Log method. - - - - - Creates a new LevelFilteredLogger. - - - - - The LoggerLevel that this logger - will be using. Defaults to LoggerLevel.Off - - - - - The name that this logger will be using. - Defaults to string.Empty - - - - - Logs a trace message. - - The message to log - - - - Logs a trace message. - - A functor to create the message - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Determines if messages of priority "trace" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "debug" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "info" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "warn" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "error" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Implementors output the log content by implementing this method only. - Note that exception can be null - - - - - Supporting Logger levels. - - - - - Logging will be off - - - - - Fatal logging level - - - - - Error logging level - - - - - Warn logging level - - - - - Info logging level - - - - - Debug logging level - - - - - Trace logging level - - - - - NullLogFactory used when logging is turned off. - - - - - Creates an instance of ILogger with the specified name. - - Name. - - - - Creates an instance of ILogger with the specified name and LoggerLevel. - - Name. - Level. - - - - The Null Logger class. This is useful for implementations where you need - to provide a logger to a utility class, but do not want any output from it. - It also helps when you have a utility that does not have a logger to supply. - - - - - Returns empty context properties. - - - - - Returns empty context properties. - - - - - Returns empty context stacks. - - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - Returns this NullLogger. - - Ignored - This ILogger instance. - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - The Stream Logger class. This class can stream log information - to any stream, it is suitable for storing a log file to disk, - or to a MemoryStream for testing your components. - - - This logger is not thread safe. - - - - - Creates a new StreamLogger with default encoding - and buffer size. Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - - - Creates a new StreamLogger with default buffer size. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - - - Creates a new StreamLogger. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - The buffer size that will be used for this stream. - - - - - - Creates a new StreamLogger with - Debug as default Level. - - The name of the log. - The StreamWriter the log will write to. - - - - Creates outputting - to files. The name of the file is derived from the log name - plus the 'log' extension. - - - - - The TraceLogger sends all logging to the System.Diagnostics.TraceSource - built into the .net framework. - - - Logging can be configured in the system.diagnostics configuration - section. - - If logger doesn't find a source name with a full match it will - use source names which match the namespace partially. For example you can - configure from all castle components by adding a source name with the - name "Castle". - - If no portion of the namespace matches the source named "Default" will - be used. - - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - The default logging level at which this source should write messages. In almost all cases this - default value will be overridden in the config file. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - - - - Used to create the TraceLogger implementation of ILogger interface. See . - - - - - List of utility methods related to dynamic proxy operations - - - - - Determines whether the specified type is a proxy generated by - DynamicProxy (1 or 2). - - The type. - - true if it is a proxy; otherwise, false. - - - - - Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. - - - - - Initializes a new instance of the class. - - The target. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets or sets the with the specified key. - - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - is null. - An element with the same key already exists in the object. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - is null. - The object is read-only.-or- The has a fixed size. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - is less than zero. - - is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . - The type of the source cannot be cast automatically to the type of the destination . - - - - Returns an object for the object. - - - An object for the object. - - - - - Reads values of properties from and inserts them into using property names as keys. - - - - - - - - - - This returns a new stream instance each time it is called. - It is the responsibility of the caller to dispose of this stream - - - - - - - - - - - - - - - Represents a 'streamable' resource. Can - be a file, a resource in an assembly. - - - - - Only valid for resources that - can be obtained through relative paths - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns an instance of - created according to the relativePath - using itself as the root. - - - - - Depicts the contract for resource factories. - - - - - Used to check whether the resource factory - is able to deal with the given resource - identifier. - - - Implementors should return true - only if the given identifier is supported - by the resource factory - - - - - Creates an instance - for the given resource identifier - - - - - Creates an instance - for the given resource identifier - - - - - Adapts a static string content as an - - - - - Enable access to files on network shares - - - - - Default implementation. - - - - - Initializes a new instance of the class based on the configuration provided in the application configuration file. - - - This constructor is based on the default configuration in the application configuration file. - - - - - This service implementation - requires a host name in order to work - - The smtp server name - - - - Gets or sets the port used to - access the SMTP server - - - - - Gets the hostname. - - The hostname. - - - - Gets or sets a value which is used to - configure if emails are going to be sent asynchronously or not. - - - - - Gets or sets a value that specifies - the amount of time after which a synchronous Send call times out. - - - - - Gets or sets a value indicating whether the email should be sent using - a secure communication channel. - - true if should use SSL; otherwise, false. - - - - Sends a message. - - If any of the parameters is null - From field - To field - e-mail's subject - message's body - - - - Sends a message. - - If the message is null - Message instance - - - - Gets or sets the domain. - - The domain. - - - - Gets or sets the name of the user. - - The name of the user. - - - - Gets or sets the password. - - The password. - - - - Configures the sender - with port information and eventual credential - informed - - Message instance - - - - Gets a value indicating whether credentials were informed. - - - if this instance has credentials; otherwise, . - - - - - Email sender abstraction. - - - - - Sends a mail message. - - From field - To field - E-mail's subject - message's body - - - - Sends a message. - - Message instance - - - - Sends multiple messages. - - List of messages - - - - Interface describing elements composing generated type - - - - - Performs some basic screening and invokes the - to select methods. - - - - - Performs some basic screening to filter out non-interceptable methods. - - - The will get invoked for non-interceptable method notification only; - it does not get asked whether or not to intercept the . - - - - - Reproduces the proxied type's non-inheritable custom attributes on the proxy type. - - - - - Adds an implementation for to the proxy type. - - - - - Encapsulates the information needed to build an attribute. - - - Arrays passed to this class as constructor arguments or property or field values become owned by this class. - They should not be mutated after creation. - - - - - Default implementation of interface producing in-memory proxy assemblies. - - - - - Initializes a new instance of the class with new . - - - - - Initializes a new instance of the class. - - The module scope for generated proxy types. - - - - Provides instructions that a user could follow to make a type or method in - visible to DynamicProxy. - The assembly containing the type or method. - Instructions that a user could follow to make a type or method visible to DynamicProxy. - - - - Creates a message to inform clients that a proxy couldn't be created due to reliance on an - inaccessible type (perhaps itself). - - the inaccessible type that prevents proxy creation - the type that couldn't be proxied - - - - Base class that exposes the common functionalities - to proxy generation. - - - - - It is safe to add mapping (no mapping for the interface exists) - - - - - Generates a parameters constructor that initializes the proxy - state with just to make it non-null. - - This constructor is important to allow proxies to be XML serializable - - - - - - Initializes a new instance of the class. - - Target element. This is either target type or target method for invocation types. - The type of the proxy. This is base type for invocation types. - The interfaces. - The options. - - - - Initializes a new instance of the class. - - Type of the target. - The interfaces. - The options. - - - - Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. - - - - - Provides appropriate Ldind.X opcode for - the type of primitive value to be loaded indirectly. - - - - - Emits a load indirect opcode of the appropriate type for a value or object reference. - Pops a pointer off the evaluation stack, dereferences it and loads - a value of the specified type. - - - - - Emits a load opcode of the appropriate kind for the constant default value of a - type, such as 0 for value types and null for reference types. - - - - - Emits a store indirectopcode of the appropriate type for a value or object reference. - Pops a value of the specified type and a pointer off the evaluation stack, and - stores the value. - - - - - Wraps a reference that is passed - ByRef and provides indirect load/store support. - - - - - Provides appropriate Stind.X opcode - for the type of primitive value to be stored indirectly. - - - - - Represents the scope of uniqueness of names for types and their members - - - - - Gets a unique name based on - - Name suggested by the caller - Unique name based on . - - Implementers should provide name as closely resembling as possible. - Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. - Implementers must return deterministic names, that is when is called twice - with the same suggested name, the same returned name should be provided each time. Non-deterministic return - values, like appending random suffices will break serialization of proxies. - - - - - Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision - with enclosing scope, or other subscopes is possible. - - New naming scope. - - - - Generates the constructor for the class that extends - - - - - - Initializes a new instance of the class. - - The event. - The add method. - The remove method. - The attributes. - - - - Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue - where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. - - - - - Exposes means to change target objects of proxies and invocations. - - - - - Changes the target object () of current . - - The new value of target of invocation. - - Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Permanently changes the target object of the proxy. This does not affect target of the current invocation. - - The new value of target of the proxy. - - Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Provides the main DynamicProxy extension point that allows member interception. - - - - - Provides an extension point that allows proxies to choose specific interceptors on - a per method basis. - - - - - Selects the interceptors that should intercept calls to the given . - - The type of the target object. - The method that will be intercepted. - All interceptors registered with the proxy. - An array of interceptors to invoke upon calling the . - - This method is called only once per proxy instance, upon the first call to the - . Either an empty array or null are valid return values to indicate - that no interceptor should intercept calls to the method. Although it is not advised, it is - legal to return other implementations than these provided in - . - - - - - Encapsulates an invocation of a proxied method. - - - - - Gets the arguments that the has been invoked with. - - The arguments the method was invoked with. - - - - Gets the generic arguments of the method. - - The generic arguments, or null if not a generic method. - - - - Gets the object on which the invocation is performed. This is different from proxy object - because most of the time this will be the proxy target object. - - - The invocation target. - - - - Gets the representing the method being invoked on the proxy. - - The representing the method being invoked. - - - - For interface proxies, this will point to the on the target class. - - The method invocation target. - - - - Gets the proxy object on which the intercepted method is invoked. - - Proxy object on which the intercepted method is invoked. - - - - Gets or sets the return value of the method. - - The return value of the method. - - - - Gets the type of the target object for the intercepted method. - - The type of the target object. - - - - Gets the value of the argument at the specified . - - The index. - The value of the argument at the specified . - - - - Returns the concrete instantiation of the on the proxy, with any generic - parameters bound to real types. - - - The concrete instantiation of the on the proxy, or the if - not a generic method. - - - Can be slower than calling . - - - - - Returns the concrete instantiation of , with any - generic parameters bound to real types. - For interface proxies, this will point to the on the target class. - - The concrete instantiation of , or - if not a generic method. - - In debug builds this can be slower than calling . - - - - - Proceeds the call to the next interceptor in line, and ultimately to the target method. - - - Since interface proxies without a target don't have the target implementation to proceed to, - it is important, that the last interceptor does not call this method, otherwise a - will be thrown. - - - - - Returns an object describing the operation for this - at this specific point during interception. - - - - - Overrides the value of an argument at the given with the - new provided. - - - This method accepts an , however the value provided must be compatible - with the type of the argument defined on the method, otherwise an exception will be thrown. - - The index of the argument to override. - The new value for the argument. - - - - Describes the operation for an - at a specific point during interception. - - - - - Executes the operation described by this instance. - - There is no interceptor, nor a proxy target object, to proceed to. - - - - Attributes should be replicated if they are non-inheritable, - but there are some special cases where the attributes means - something to the CLR, where they should be skipped. - - - - - Returns list of all unique interfaces implemented given types, including their base interfaces. - - - - - Checks whether the specified is a delegate type (i.e. a direct subclass of ). - - - - - Abstracts the implementation of proxy type construction. - - - - - Gets or sets the that this logs to. - - - - - Gets the associated with this builder. - - The module scope associated with this builder. - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type that proxies calls to members on , implementing , using provided. - - The interface type to proxy. - Additional interface types to proxy. - Type implementing on which calls to the interface members should be intercepted. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors - and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, - to allow interceptors to switch invocation target with instance of another type implementing called interface. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given that delegates all calls to the provided interceptors. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Used during the target type inspection process. Implementors have a chance to customize the - proxy generation process. - - - - - Invoked by the generation process to notify that the whole process has completed. - - - - - Invoked by the generation process to notify that a member was not marked as virtual. - - The type which declares the non-virtual member. - The non-virtual member. - - This method gives an opportunity to inspect any non-proxyable member of a type that has - been requested to be proxied, and if appropriate - throw an exception to notify the caller. - - - - - Invoked by the generation process to determine if the specified method should be proxied. - - The type which declares the given method. - The method to inspect. - True if the given method should be proxied; false otherwise. - - - - Provides proxy objects for classes and interfaces. - - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Exposes access to the target object and interceptors of proxy objects. - This is a DynamicProxy infrastructure interface and should not be implemented yourself. - - - - - Get the proxy target (note that null is a valid target!) - - - - - Set the proxy target. - - New proxy target. - - - - Gets the interceptors for the proxy - - - - - Because we need to cache the types based on the mixed in mixins, we do the following here: - - Get all the mixin interfaces - - Sort them by full name - - Return them by position - - The idea is to have reproducible behavior for the case that mixins are registered in different orders. - This method is here because it is required - - - - - The default file name used when the assembly is saved using . - - - - - The default assembly (simple) name used for the assemblies generated by a instance. - - - - - Initializes a new instance of the class; assemblies created by this instance will not be saved. - - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Gets the key pair used to sign the strong-named assembly generated by this . - - - - - Gets the strong-named module generated by this scope, or if none has yet been generated. - - The strong-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the strongly named module generated by this scope. - - The file name of the strongly named module generated by this scope. - - - - Gets the directory where the strongly named module generated by this scope will be saved, or if the current directory - is used. - - The directory where the strongly named module generated by this scope will be saved when is called - (if this scope was created to save modules). - - - - Gets the weak-named module generated by this scope, or if none has yet been generated. - - The weak-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the weakly named module generated by this scope. - - The file name of the weakly named module generated by this scope. - - - - Gets the directory where the weakly named module generated by this scope will be saved, or if the current directory - is used. - - The directory where the weakly named module generated by this scope will be saved when is called - (if this scope was created to save modules). - - - - Gets the specified module generated by this scope, creating a new one if none has yet been generated. - - If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. - A strong-named or weak-named module generated by this scope, as specified by the parameter. - - - - Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. - - A strong-named module generated by this scope. - - - - Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. - - A weak-named module generated by this scope. - - - - Saves the generated assembly with the name and directory information given when this instance was created (or with - the and current directory if none was given). - - - - This method stores the generated assembly in the directory passed as part of the module information specified when this instance was - constructed (if any, else the current directory is used). If both a strong-named and a weak-named assembly - have been generated, it will throw an exception; in this case, use the overload. - - - If this was created without indicating that the assembly should be saved, this method does nothing. - - - Both a strong-named and a weak-named assembly have been generated. - The path of the generated assembly file, or null if no file has been generated. - - - - Saves the specified generated assembly with the name and directory information given when this instance was created - (or with the and current directory if none was given). - - True if the generated assembly with a strong name should be saved (see ); - false if the generated assembly without a strong name should be saved (see . - - - This method stores the specified generated assembly in the directory passed as part of the module information specified when this instance was - constructed (if any, else the current directory is used). - - - If this was created without indicating that the assembly should be saved, this method does nothing. - - - No assembly has been generated that matches the parameter. - - The path of the generated assembly file, or null if no file has been generated. - - - - Loads the generated types from the given assembly into this 's cache. - - The assembly to load types from. This assembly must have been saved via or - , or it must have the manually applied. - - This method can be used to load previously generated and persisted proxy types from disk into this scope's type cache, e.g. in order - to avoid the performance hit associated with proxy generation. - - - - - ProxyBuilder that persists the generated type. - - - The saved assembly contains just the last generated type. - - - - - Initializes a new instance of the class. - - - - - Saves the generated assembly to a physical file. Note that this renders the unusable. - - The path of the generated assembly file, or null if no assembly has been generated. - - This method does not support saving multiple files. If both a signed and an unsigned module have been generated, use the - respective methods of the . - - - - - allows customization of the behavior of proxies created by - an (or proxy types generated by an ). - - You should not modify an instance of once it has been - used to create a proxy (or proxy type). - - - - - - Initializes a new instance of the class. - - The hook. - - - - Initializes a new instance of the class. - - - - - Gets or sets the that should be used during proxy type - generation. Defaults to an instance of . - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the that should be used by created proxies - to determine which interceptors to use for an interception. If set to - (which is the default), created proxies will not use any selector. - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the class type from which generated interface proxy types will be derived. - Defaults to (). - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets the collection of additional custom attributes that will be put on generated proxy types. - This collection is initially empty. - - You should not modify this collection once this instance - has been used to create a proxy. - - - - - - Adds a delegate type to the list of mixins that will be added to generated proxies. - That is, generated proxies will have a `Invoke` method with a signature matching that - of the specified . - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate type whose `Invoke` method should be reproduced in generated proxies. - is . - is not a delegate type. - - - - Adds a delegate to be mixed into generated proxies. The - will act as the target for calls to a `Invoke` method with a signature matching that - of the delegate. - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate that should act as the target for calls to `Invoke` methods with a matching signature. - is . - - - - Mixes the interfaces implemented by the specified object into - created proxies, and uses as the target for these mixed-in interfaces. - - You should not call this method once this instance - has been used to create a proxy. - - - The object that should act as the target for all of its implemented interfaces' methods. - is . - is an instance of . - - - - Provides proxy objects for classes and interfaces. - - - - - Initializes a new instance of the class. - - Proxy types builder. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - If true forces all types to be generated into an unsigned module. - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates the proxy type for class proxy with given class, implementing given and using provided . - - The base class for proxy type. - The interfaces that proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - Actual type that the proxy type will encompass. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested type. - - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested . - - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified type is accessible to DynamicProxy. - The type to check. - true if the type is accessible to DynamicProxy, false otherwise. - - - - Determines whether this assembly has internals visible to DynamicProxy. - - The assembly to inspect. - - - - Checks whether the specified method is accessible to DynamicProxy. - Unlike with , the declaring type's accessibility is ignored. - - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Determines whether the specified method is internal. - - The method. - - true if the specified method is internal; otherwise, false. - - - - - Applied to the assemblies saved by in order to persist the cache data included in the persisted assembly. - - - - - Handles the deserialization of proxies. - - - - - Resets the used for deserialization to a new scope. - - - This is useful for test cases. - - - - - Resets the used for deserialization to a given . - - The scope to be used for deserialization. - - By default, the deserialization process uses a different scope than the rest of the application, which can lead to multiple proxies - being generated for the same type. By explicitly setting the deserialization scope to the application's scope, this can be avoided. - - - - - Gets the used for deserialization. - - As has no way of automatically determining the scope used by the application (and the application might use more than one scope at the same time), uses a dedicated scope instance for deserializing proxy types. This instance can be reset and set to a specific value via and . - - - - Holds objects representing methods of class. - - - - - Holds objects representing methods of class. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll deleted file mode 100644 index eb7fd3bb..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml deleted file mode 100644 index a7c6b9ba..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/net6.0/Castle.Core.xml +++ /dev/null @@ -1,5898 +0,0 @@ - - - - Castle.Core - - - - - Abstract adapter for the support - needed by the - - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - An element with the same key already exists in the object. - key is null. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Returns an object for the object. - - - An object for the object. - - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - The object is read-only.-or- The has a fixed size. - key is null. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets or sets the with the specified key. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in array at which copying begins. - array is null. - The type of the source cannot be cast automatically to the type of the destination array. - index is less than zero. - array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Abstract implementation of . - - - - - Identifies a property should be represented as a nested component. - - - - - Applies no prefix. - - - - - Gets or sets the prefix. - - The prefix. - - - - Identifies the dictionary adapter types. - - - - - Assigns a specific dictionary key. - - - - - Identifies an interface or property to be pre-fetched. - - - - - Instructs fetching to occur. - - - - - Instructs fetching according to - - - - - Gets whether or not fetching should occur. - - - - - Assigns a property to a group. - - - - - Constructs a group assignment. - - The group name. - - - - Constructs a group assignment. - - The group name. - - - - Gets the group the property is assigned to. - - - - - Suppresses any on-demand behaviors. - - - - - Assigns a specific dictionary key. - - - - - Initializes a new instance of the class. - - The key. - - - - Initializes a new instance of the class. - - The compound key. - - - - Assigns a prefix to the keyed properties of an interface. - - - Key prefixes are not inherited by sub-interfaces. - - - - - Initializes a default instance of the class. - - - - - Initializes a new instance of the class. - - The prefix for the keyed properties of the interface. - - - - Gets the prefix key added to the properties of the interface. - - - - - Substitutes part of key with another string. - - - - - Initializes a new instance of the class. - - The old value. - The new value. - - - - Requests support for multi-level editing. - - - - - Generates a new GUID on demand. - - - - - Support for on-demand value resolution. - - - - - Specifies assignment by reference rather than by copying. - - - - - Removes a property if matches value. - - - - - Removes a property if null or empty string, guid or collection. - - - - - Provides simple string formatting from existing properties. - - - - - Gets the string format. - - - - - Gets the format properties. - - - - - Identifies a property should be represented as a delimited string value. - - - - - Gets the separator. - - - - - Converts all properties to strings. - - - - - Gets or sets the format. - - The format. - - - - Suppress property change notifications. - - - - - Assigns a prefix to the keyed properties using the interface name. - - - - - Indicates that underlying values are changeable and should not be cached. - - - - - Initializes a new instance of the class - that represents a child object in a larger object graph. - - - - - Manages conversion between property values. - - - - - Initializes a new instance of the class. - - The converter. - - - - - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Uses Reflection.Emit to expose the properties of a dictionary - through a dynamic implementation of a typed interface. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wraps a with a dynamic object to expose a bit better looking API. - The implementation is trivial and assumes keys are s. - - - - - Contract for manipulating the Dictionary adapter. - - - - - Defines the contract for building typed dictionary adapters. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - The property descriptor. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets the associated with the type. - - The typed interface. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - The property descriptor. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - Another from which to copy behaviors. - The adapter meta-data. - - - - Contract for traversing a . - - - - - Defines the contract for customizing dictionary access. - - - - - Determines relative order to apply related behaviors. - - - - - Copies the dictionary behavior. - - null if should not be copied. Otherwise copy. - - - - Defines the contract for building s. - - - - - Builds the dictionary behaviors. - - - - - Contract for creating additional Dictionary adapters. - - - - - Contract for editing the Dictionary adapter. - - - - - Contract for dictionary initialization. - - - - - Performs any initialization of the - - The dictionary adapter. - The dictionary behaviors. - - - - Defines the contract for building typed dictionary keys. - - - - - Builds the specified key. - - The dictionary adapter. - The current key. - The property. - The updated key - - - - Contract for dictionary meta-data initialization. - - - - - Initializes the given object. - - The dictionary adapter factory. - The dictionary adapter meta. - - - - - Determines whether the given behavior should be included in a new - object. - - A dictionary behavior or annotation. - True if the behavior should be included; otherwise, false. - - behaviors are always included, - regardless of the result of this method. - - - - - - Contract for managing Dictionary adapter notifications. - - - - - Defines the contract for retrieving dictionary values. - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Defines the contract for updating dictionary values. - - - - - Sets the stored dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if the property should be stored. - - - - Contract for validating Dictionary adapter. - - - - - Contract for dictionary validation. - - - - - Determines if is valid. - - The dictionary adapter. - true if valid. - - - - Validates the . - - The dictionary adapter. - The error summary information. - - - - Validates the for a property. - - The dictionary adapter. - The property to validate. - The property summary information. - - - - Invalidates any results cached by the validator. - - The dictionary adapter. - - - - Contract for property descriptor initialization. - - - - - Performs any initialization of the - - The property descriptor. - The property behaviors. - - - - - - - - - Initializes a new instance of the class. - - The name values. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Gets or sets the with the specified key. - - - - - Adapts the specified name values. - - The name values. - - - - Describes a dictionary property. - - - - - Initializes an empty class. - - - - - Initializes a new instance of the class. - - The property. - The annotations. - - - - Initializes a new instance class. - - - - - Copies an existing instance of the class. - - - - - - - - - - Gets the property name. - - - - - Gets the property type. - - - - - Gets the property. - - The property. - - - - Returns true if the property is dynamic. - - - - - Gets additional state. - - - - - Determines if property should be fetched. - - - - - Determines if property must exist first. - - - - - Determines if notifications should occur. - - - - - Gets the property behaviors. - - - - - Gets the type converter. - - The type converter. - - - - Gets the extended properties. - - - - - Gets the setter. - - The setter. - - - - Gets the key builders. - - The key builders. - - - - Gets the setter. - - The setter. - - - - Gets the getter. - - The getter. - - - - Gets the initializers. - - The initializers. - - - - Gets the meta-data initializers. - - The meta-data initializers. - - - - Gets the key. - - The dictionary adapter. - The key. - The descriptor. - - - - Gets the property value. - - The dictionary adapter. - The key. - The stored value. - The descriptor. - true if return only existing. - - - - Sets the property value. - - The dictionary adapter. - The key. - The value. - The descriptor. - - - - Adds a single behavior. - - The behavior. - - - - Adds the behaviors. - - The behaviors. - - - - Adds the behaviors. - - The behaviors. - - - - Copies the behaviors to the other - - - - - Copies the - - - - - Provides a generic collection that supports data binding. - - - This class wraps the CLR - in order to implement the Castle-specific . - - The type of elements in the list. - - - - Initializes a new instance of the class - using default values. - - - - - Initializes a new instance of the class - with the specified list. - - - An of items - to be contained in the . - - - - - Initializes a new instance of the class - wrapping the specified instance. - - - A - to be wrapped by the . - - - - - Contract for value matching. - - - - - Contract for dynamic value resolution. - - - - - Contract for typed dynamic value resolution. - - - - - - This is an abstract implementation - that deals with methods that can be abstracted away - from underlying implementations. - - - AbstractConfiguration makes easier to implementers - to create a new version of - - - - - Gets node attributes. - - - All attributes of the node. - - - - - Gets all child nodes. - - The of child nodes. - - - - Gets the name of the . - - - The Name of the . - - - - - Gets the value of . - - - The Value of the . - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - A collection of objects. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Creates a new instance of ConfigurationCollection. - - - - - is a interface encapsulating a configuration node - used to retrieve configuration values. - - - - - Gets the name of the node. - - - The Name of the node. - - - - - Gets the value of the node. - - - The Value of the node. - - - - - Gets an of - elements containing all node children. - - The Collection of child nodes. - - - - Gets an of the configuration attributes. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - Initializes a new instance of the class. - - The name. - - - - Gets the value of . - - - The Value of the . - - - - - Deserializes the specified node into an abstract representation of configuration. - - The node. - - - - If a config value is an empty string we return null, this is to keep - backward compatibility with old code - - - - - Helper class for retrieving attributes. - - - - - Gets the attribute. - - The type. - The type attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The type. - The type attributes. - - - - Gets the attribute. - - The member. - The member attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The member. - The member attributes. - - - - Gets the type attribute. - - The type. - The type attribute. - - - - Gets the type attributes. - - The type. - The type attributes. - - - - Gets the type converter. - - The member. - - - - Constant to use when making assembly internals visible to Castle.Core - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] - - - - - Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] - - - - - Find the best available name to describe a type. - - - Usually the best name will be , but - sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) - in which case the method falls back to . - - the type to name - the best name - - - - Defines that the implementation wants a - in order to - access other components. The creator must be aware - that the component might (or might not) implement - the interface. - - - Used by Castle Project components to, for example, - gather logging factories - - - - - Increments IServiceProvider with a generic service resolution operation. - - - - - This interface should be implemented by classes - that are available in a bigger context, exposing - the container to different areas in the same application. - - For example, in Web application, the (global) HttpApplication - subclasses should implement this interface to expose - the configured container - - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Gets the configuration file. - - i.e. log4net.config - - - - Gets the configuration file. - - i.e. log4net.config - - - - The Logger sending everything to the standard output streams. - This is mainly for the cases when you have a utility that - does not have a logger to supply. - - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug and the Name - set to string.Empty. - - - - - Creates a new ConsoleLogger with the Name - set to string.Empty. - - The logs Level. - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug. - - The logs Name. - - - - Creates a new ConsoleLogger. - - The logs Name. - The logs Level. - - - - A Common method to log. - - The level of logging - The name of the logger - The Message - The Exception - - - - Returns a new ConsoleLogger with the name - added after this loggers name, with a dot in between. - - The added hierarchical name. - A new ConsoleLogger. - - - - The Logger using standard Diagnostics namespace. - - - - - Creates a logger based on . - - - - - - Creates a logger based on . - - - - - - - Creates a logger based on . - - - - - - - - Interface for Context Properties implementations - - - - This interface defines a basic property get set accessor. - - - Based on the ContextPropertiesBase of log4net, by Nicko Cadell. - - - - - - Gets or sets the value of a property - - - The value for the property with the specified key - - - - Gets or sets the value of a property - - - - - - Provides an interface that supports and - allows the storage and retrieval of Contexts. These are supported in - both log4net and NLog. - - - - - Exposes the Global Context of the extended logger. - - - - - Exposes the Thread Context of the extended logger. - - - - - Exposes the Thread Stack of the extended logger. - - - - - Provides a factory that can produce either or - classes. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Manages logging. - - - This is a facade for the different logging subsystems. - It offers a simplified interface that follows IOC patterns - and a simplified priority/level/severity abstraction. - - - - - Determines if messages of priority "trace" will be logged. - - True if "trace" messages will be logged. - - - - Determines if messages of priority "debug" will be logged. - - True if "debug" messages will be logged. - - - - Determines if messages of priority "error" will be logged. - - True if "error" messages will be logged. - - - - Determines if messages of priority "fatal" will be logged. - - True if "fatal" messages will be logged. - - - - Determines if messages of priority "info" will be logged. - - True if "info" messages will be logged. - - - - Determines if messages of priority "warn" will be logged. - - True if "warn" messages will be logged. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - If the name has an empty element name. - - - - Logs a trace message. - - The message to log - - - - Logs a trace message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs a info message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Manages the instantiation of s. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - The Level Filtered Logger class. This is a base class which - provides a LogLevel attribute and reroutes all functions into - one Log method. - - - - - Creates a new LevelFilteredLogger. - - - - - The LoggerLevel that this logger - will be using. Defaults to LoggerLevel.Off - - - - - The name that this logger will be using. - Defaults to string.Empty - - - - - Logs a trace message. - - The message to log - - - - Logs a trace message. - - A functor to create the message - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Determines if messages of priority "trace" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "debug" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "info" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "warn" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "error" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Implementors output the log content by implementing this method only. - Note that exception can be null - - - - - Supporting Logger levels. - - - - - Logging will be off - - - - - Fatal logging level - - - - - Error logging level - - - - - Warn logging level - - - - - Info logging level - - - - - Debug logging level - - - - - Trace logging level - - - - - NullLogFactory used when logging is turned off. - - - - - Creates an instance of ILogger with the specified name. - - Name. - - - - Creates an instance of ILogger with the specified name and LoggerLevel. - - Name. - Level. - - - - The Null Logger class. This is useful for implementations where you need - to provide a logger to a utility class, but do not want any output from it. - It also helps when you have a utility that does not have a logger to supply. - - - - - Returns empty context properties. - - - - - Returns empty context properties. - - - - - Returns empty context stacks. - - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - Returns this NullLogger. - - Ignored - This ILogger instance. - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - The Stream Logger class. This class can stream log information - to any stream, it is suitable for storing a log file to disk, - or to a MemoryStream for testing your components. - - - This logger is not thread safe. - - - - - Creates a new StreamLogger with default encoding - and buffer size. Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - - - Creates a new StreamLogger with default buffer size. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - - - Creates a new StreamLogger. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - The buffer size that will be used for this stream. - - - - - - Creates a new StreamLogger with - Debug as default Level. - - The name of the log. - The StreamWriter the log will write to. - - - - Creates outputting - to files. The name of the file is derived from the log name - plus the 'log' extension. - - - - - The TraceLogger sends all logging to the System.Diagnostics.TraceSource - built into the .net framework. - - - Logging can be configured in the system.diagnostics configuration - section. - - If logger doesn't find a source name with a full match it will - use source names which match the namespace partially. For example you can - configure from all castle components by adding a source name with the - name "Castle". - - If no portion of the namespace matches the source named "Default" will - be used. - - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - The default logging level at which this source should write messages. In almost all cases this - default value will be overridden in the config file. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - - - - Used to create the TraceLogger implementation of ILogger interface. See . - - - - - List of utility methods related to dynamic proxy operations - - - - - Determines whether the specified type is a proxy generated by - DynamicProxy (1 or 2). - - The type. - - true if it is a proxy; otherwise, false. - - - - - Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. - - - - - Initializes a new instance of the class. - - The target. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets or sets the with the specified key. - - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - is null. - An element with the same key already exists in the object. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - is null. - The object is read-only.-or- The has a fixed size. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - is less than zero. - - is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . - The type of the source cannot be cast automatically to the type of the destination . - - - - Returns an object for the object. - - - An object for the object. - - - - - Reads values of properties from and inserts them into using property names as keys. - - - - - - - - - - This returns a new stream instance each time it is called. - It is the responsibility of the caller to dispose of this stream - - - - - - - - - - - - - - - Represents a 'streamable' resource. Can - be a file, a resource in an assembly. - - - - - Only valid for resources that - can be obtained through relative paths - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns an instance of - created according to the relativePath - using itself as the root. - - - - - Depicts the contract for resource factories. - - - - - Used to check whether the resource factory - is able to deal with the given resource - identifier. - - - Implementors should return true - only if the given identifier is supported - by the resource factory - - - - - Creates an instance - for the given resource identifier - - - - - Creates an instance - for the given resource identifier - - - - - Adapts a static string content as an - - - - - Enable access to files on network shares - - - - - Default implementation. - - - - - Initializes a new instance of the class based on the configuration provided in the application configuration file. - - - This constructor is based on the default configuration in the application configuration file. - - - - - This service implementation - requires a host name in order to work - - The smtp server name - - - - Gets or sets the port used to - access the SMTP server - - - - - Gets the hostname. - - The hostname. - - - - Gets or sets a value which is used to - configure if emails are going to be sent asynchronously or not. - - - - - Gets or sets a value that specifies - the amount of time after which a synchronous Send call times out. - - - - - Gets or sets a value indicating whether the email should be sent using - a secure communication channel. - - true if should use SSL; otherwise, false. - - - - Sends a message. - - If any of the parameters is null - From field - To field - e-mail's subject - message's body - - - - Sends a message. - - If the message is null - Message instance - - - - Gets or sets the domain. - - The domain. - - - - Gets or sets the name of the user. - - The name of the user. - - - - Gets or sets the password. - - The password. - - - - Configures the sender - with port information and eventual credential - informed - - Message instance - - - - Gets a value indicating whether credentials were informed. - - - if this instance has credentials; otherwise, . - - - - - Email sender abstraction. - - - - - Sends a mail message. - - From field - To field - E-mail's subject - message's body - - - - Sends a message. - - Message instance - - - - Sends multiple messages. - - List of messages - - - - Interface describing elements composing generated type - - - - - Performs some basic screening and invokes the - to select methods. - - - - - Performs some basic screening to filter out non-interceptable methods. - - - The will get invoked for non-interceptable method notification only; - it does not get asked whether or not to intercept the . - - - - - Reproduces the proxied type's non-inheritable custom attributes on the proxy type. - - - - - Adds an implementation for to the proxy type. - - - - - Encapsulates the information needed to build an attribute. - - - Arrays passed to this class as constructor arguments or property or field values become owned by this class. - They should not be mutated after creation. - - - - - Default implementation of interface producing in-memory proxy assemblies. - - - - - Initializes a new instance of the class with new . - - - - - Initializes a new instance of the class. - - The module scope for generated proxy types. - - - - Provides instructions that a user could follow to make a type or method in - visible to DynamicProxy. - The assembly containing the type or method. - Instructions that a user could follow to make a type or method visible to DynamicProxy. - - - - Creates a message to inform clients that a proxy couldn't be created due to reliance on an - inaccessible type (perhaps itself). - - the inaccessible type that prevents proxy creation - the type that couldn't be proxied - - - - Base class that exposes the common functionalities - to proxy generation. - - - - - It is safe to add mapping (no mapping for the interface exists) - - - - - Generates a parameters constructor that initializes the proxy - state with just to make it non-null. - - This constructor is important to allow proxies to be XML serializable - - - - - - Initializes a new instance of the class. - - Target element. This is either target type or target method for invocation types. - The type of the proxy. This is base type for invocation types. - The interfaces. - The options. - - - - Initializes a new instance of the class. - - Type of the target. - The interfaces. - The options. - - - - Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. - - - - - Provides appropriate Ldind.X opcode for - the type of primitive value to be loaded indirectly. - - - - - Emits a load indirect opcode of the appropriate type for a value or object reference. - Pops a pointer off the evaluation stack, dereferences it and loads - a value of the specified type. - - - - - Emits a load opcode of the appropriate kind for the constant default value of a - type, such as 0 for value types and null for reference types. - - - - - Emits a store indirectopcode of the appropriate type for a value or object reference. - Pops a value of the specified type and a pointer off the evaluation stack, and - stores the value. - - - - - Wraps a reference that is passed - ByRef and provides indirect load/store support. - - - - - Provides appropriate Stind.X opcode - for the type of primitive value to be stored indirectly. - - - - - Represents the scope of uniqueness of names for types and their members - - - - - Gets a unique name based on - - Name suggested by the caller - Unique name based on . - - Implementers should provide name as closely resembling as possible. - Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. - Implementers must return deterministic names, that is when is called twice - with the same suggested name, the same returned name should be provided each time. Non-deterministic return - values, like appending random suffices will break serialization of proxies. - - - - - Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision - with enclosing scope, or other subscopes is possible. - - New naming scope. - - - - Generates the constructor for the class that extends - - - - - - Initializes a new instance of the class. - - The event. - The add method. - The remove method. - The attributes. - - - - Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue - where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. - - - - - Exposes means to change target objects of proxies and invocations. - - - - - Changes the target object () of current . - - The new value of target of invocation. - - Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Permanently changes the target object of the proxy. This does not affect target of the current invocation. - - The new value of target of the proxy. - - Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Provides the main DynamicProxy extension point that allows member interception. - - - - - Provides an extension point that allows proxies to choose specific interceptors on - a per method basis. - - - - - Selects the interceptors that should intercept calls to the given . - - The type of the target object. - The method that will be intercepted. - All interceptors registered with the proxy. - An array of interceptors to invoke upon calling the . - - This method is called only once per proxy instance, upon the first call to the - . Either an empty array or null are valid return values to indicate - that no interceptor should intercept calls to the method. Although it is not advised, it is - legal to return other implementations than these provided in - . - - - - - Encapsulates an invocation of a proxied method. - - - - - Gets the arguments that the has been invoked with. - - The arguments the method was invoked with. - - - - Gets the generic arguments of the method. - - The generic arguments, or null if not a generic method. - - - - Gets the object on which the invocation is performed. This is different from proxy object - because most of the time this will be the proxy target object. - - - The invocation target. - - - - Gets the representing the method being invoked on the proxy. - - The representing the method being invoked. - - - - For interface proxies, this will point to the on the target class. - - The method invocation target. - - - - Gets the proxy object on which the intercepted method is invoked. - - Proxy object on which the intercepted method is invoked. - - - - Gets or sets the return value of the method. - - The return value of the method. - - - - Gets the type of the target object for the intercepted method. - - The type of the target object. - - - - Gets the value of the argument at the specified . - - The index. - The value of the argument at the specified . - - - - Returns the concrete instantiation of the on the proxy, with any generic - parameters bound to real types. - - - The concrete instantiation of the on the proxy, or the if - not a generic method. - - - Can be slower than calling . - - - - - Returns the concrete instantiation of , with any - generic parameters bound to real types. - For interface proxies, this will point to the on the target class. - - The concrete instantiation of , or - if not a generic method. - - In debug builds this can be slower than calling . - - - - - Proceeds the call to the next interceptor in line, and ultimately to the target method. - - - Since interface proxies without a target don't have the target implementation to proceed to, - it is important, that the last interceptor does not call this method, otherwise a - will be thrown. - - - - - Returns an object describing the operation for this - at this specific point during interception. - - - - - Overrides the value of an argument at the given with the - new provided. - - - This method accepts an , however the value provided must be compatible - with the type of the argument defined on the method, otherwise an exception will be thrown. - - The index of the argument to override. - The new value for the argument. - - - - Describes the operation for an - at a specific point during interception. - - - - - Executes the operation described by this instance. - - There is no interceptor, nor a proxy target object, to proceed to. - - - - Attributes should be replicated if they are non-inheritable, - but there are some special cases where the attributes means - something to the CLR, where they should be skipped. - - - - - Returns list of all unique interfaces implemented given types, including their base interfaces. - - - - - Checks whether the specified is a delegate type (i.e. a direct subclass of ). - - - - - Abstracts the implementation of proxy type construction. - - - - - Gets or sets the that this logs to. - - - - - Gets the associated with this builder. - - The module scope associated with this builder. - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type that proxies calls to members on , implementing , using provided. - - The interface type to proxy. - Additional interface types to proxy. - Type implementing on which calls to the interface members should be intercepted. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors - and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, - to allow interceptors to switch invocation target with instance of another type implementing called interface. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given that delegates all calls to the provided interceptors. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Used during the target type inspection process. Implementors have a chance to customize the - proxy generation process. - - - - - Invoked by the generation process to notify that the whole process has completed. - - - - - Invoked by the generation process to notify that a member was not marked as virtual. - - The type which declares the non-virtual member. - The non-virtual member. - - This method gives an opportunity to inspect any non-proxyable member of a type that has - been requested to be proxied, and if appropriate - throw an exception to notify the caller. - - - - - Invoked by the generation process to determine if the specified method should be proxied. - - The type which declares the given method. - The method to inspect. - True if the given method should be proxied; false otherwise. - - - - Provides proxy objects for classes and interfaces. - - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Exposes access to the target object and interceptors of proxy objects. - This is a DynamicProxy infrastructure interface and should not be implemented yourself. - - - - - Get the proxy target (note that null is a valid target!) - - - - - Set the proxy target. - - New proxy target. - - - - Gets the interceptors for the proxy - - - - - Because we need to cache the types based on the mixed in mixins, we do the following here: - - Get all the mixin interfaces - - Sort them by full name - - Return them by position - - The idea is to have reproducible behavior for the case that mixins are registered in different orders. - This method is here because it is required - - - - - The default file name used when the assembly is saved using . - - - - - The default assembly (simple) name used for the assemblies generated by a instance. - - - - - Initializes a new instance of the class; assemblies created by this instance will not be saved. - - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Gets the key pair used to sign the strong-named assembly generated by this . - - - - - Gets the strong-named module generated by this scope, or if none has yet been generated. - - The strong-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the strongly named module generated by this scope. - - The file name of the strongly named module generated by this scope. - - - - Gets the weak-named module generated by this scope, or if none has yet been generated. - - The weak-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the weakly named module generated by this scope. - - The file name of the weakly named module generated by this scope. - - - - Gets the specified module generated by this scope, creating a new one if none has yet been generated. - - If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. - A strong-named or weak-named module generated by this scope, as specified by the parameter. - - - - Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. - - A strong-named module generated by this scope. - - - - Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. - - A weak-named module generated by this scope. - - - - allows customization of the behavior of proxies created by - an (or proxy types generated by an ). - - You should not modify an instance of once it has been - used to create a proxy (or proxy type). - - - - - - Initializes a new instance of the class. - - The hook. - - - - Initializes a new instance of the class. - - - - - Gets or sets the that should be used during proxy type - generation. Defaults to an instance of . - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the that should be used by created proxies - to determine which interceptors to use for an interception. If set to - (which is the default), created proxies will not use any selector. - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the class type from which generated interface proxy types will be derived. - Defaults to (). - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets the collection of additional custom attributes that will be put on generated proxy types. - This collection is initially empty. - - You should not modify this collection once this instance - has been used to create a proxy. - - - - - - Adds a delegate type to the list of mixins that will be added to generated proxies. - That is, generated proxies will have a `Invoke` method with a signature matching that - of the specified . - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate type whose `Invoke` method should be reproduced in generated proxies. - is . - is not a delegate type. - - - - Adds a delegate to be mixed into generated proxies. The - will act as the target for calls to a `Invoke` method with a signature matching that - of the delegate. - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate that should act as the target for calls to `Invoke` methods with a matching signature. - is . - - - - Mixes the interfaces implemented by the specified object into - created proxies, and uses as the target for these mixed-in interfaces. - - You should not call this method once this instance - has been used to create a proxy. - - - The object that should act as the target for all of its implemented interfaces' methods. - is . - is an instance of . - - - - Provides proxy objects for classes and interfaces. - - - - - Initializes a new instance of the class. - - Proxy types builder. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - If true forces all types to be generated into an unsigned module. - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates the proxy type for class proxy with given class, implementing given and using provided . - - The base class for proxy type. - The interfaces that proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - Actual type that the proxy type will encompass. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested type. - - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested . - - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified type is accessible to DynamicProxy. - The type to check. - true if the type is accessible to DynamicProxy, false otherwise. - - - - Determines whether this assembly has internals visible to DynamicProxy. - - The assembly to inspect. - - - - Checks whether the specified method is accessible to DynamicProxy. - Unlike with , the declaring type's accessibility is ignored. - - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Determines whether the specified method is internal. - - The method. - - true if the specified method is internal; otherwise, false. - - - - - Holds objects representing methods of class. - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll deleted file mode 100644 index 9d7d22a3..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml deleted file mode 100644 index a7c6b9ba..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.0/Castle.Core.xml +++ /dev/null @@ -1,5898 +0,0 @@ - - - - Castle.Core - - - - - Abstract adapter for the support - needed by the - - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - An element with the same key already exists in the object. - key is null. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Returns an object for the object. - - - An object for the object. - - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - The object is read-only.-or- The has a fixed size. - key is null. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets or sets the with the specified key. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in array at which copying begins. - array is null. - The type of the source cannot be cast automatically to the type of the destination array. - index is less than zero. - array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Abstract implementation of . - - - - - Identifies a property should be represented as a nested component. - - - - - Applies no prefix. - - - - - Gets or sets the prefix. - - The prefix. - - - - Identifies the dictionary adapter types. - - - - - Assigns a specific dictionary key. - - - - - Identifies an interface or property to be pre-fetched. - - - - - Instructs fetching to occur. - - - - - Instructs fetching according to - - - - - Gets whether or not fetching should occur. - - - - - Assigns a property to a group. - - - - - Constructs a group assignment. - - The group name. - - - - Constructs a group assignment. - - The group name. - - - - Gets the group the property is assigned to. - - - - - Suppresses any on-demand behaviors. - - - - - Assigns a specific dictionary key. - - - - - Initializes a new instance of the class. - - The key. - - - - Initializes a new instance of the class. - - The compound key. - - - - Assigns a prefix to the keyed properties of an interface. - - - Key prefixes are not inherited by sub-interfaces. - - - - - Initializes a default instance of the class. - - - - - Initializes a new instance of the class. - - The prefix for the keyed properties of the interface. - - - - Gets the prefix key added to the properties of the interface. - - - - - Substitutes part of key with another string. - - - - - Initializes a new instance of the class. - - The old value. - The new value. - - - - Requests support for multi-level editing. - - - - - Generates a new GUID on demand. - - - - - Support for on-demand value resolution. - - - - - Specifies assignment by reference rather than by copying. - - - - - Removes a property if matches value. - - - - - Removes a property if null or empty string, guid or collection. - - - - - Provides simple string formatting from existing properties. - - - - - Gets the string format. - - - - - Gets the format properties. - - - - - Identifies a property should be represented as a delimited string value. - - - - - Gets the separator. - - - - - Converts all properties to strings. - - - - - Gets or sets the format. - - The format. - - - - Suppress property change notifications. - - - - - Assigns a prefix to the keyed properties using the interface name. - - - - - Indicates that underlying values are changeable and should not be cached. - - - - - Initializes a new instance of the class - that represents a child object in a larger object graph. - - - - - Manages conversion between property values. - - - - - Initializes a new instance of the class. - - The converter. - - - - - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Uses Reflection.Emit to expose the properties of a dictionary - through a dynamic implementation of a typed interface. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wraps a with a dynamic object to expose a bit better looking API. - The implementation is trivial and assumes keys are s. - - - - - Contract for manipulating the Dictionary adapter. - - - - - Defines the contract for building typed dictionary adapters. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - The property descriptor. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets the associated with the type. - - The typed interface. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - The property descriptor. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - Another from which to copy behaviors. - The adapter meta-data. - - - - Contract for traversing a . - - - - - Defines the contract for customizing dictionary access. - - - - - Determines relative order to apply related behaviors. - - - - - Copies the dictionary behavior. - - null if should not be copied. Otherwise copy. - - - - Defines the contract for building s. - - - - - Builds the dictionary behaviors. - - - - - Contract for creating additional Dictionary adapters. - - - - - Contract for editing the Dictionary adapter. - - - - - Contract for dictionary initialization. - - - - - Performs any initialization of the - - The dictionary adapter. - The dictionary behaviors. - - - - Defines the contract for building typed dictionary keys. - - - - - Builds the specified key. - - The dictionary adapter. - The current key. - The property. - The updated key - - - - Contract for dictionary meta-data initialization. - - - - - Initializes the given object. - - The dictionary adapter factory. - The dictionary adapter meta. - - - - - Determines whether the given behavior should be included in a new - object. - - A dictionary behavior or annotation. - True if the behavior should be included; otherwise, false. - - behaviors are always included, - regardless of the result of this method. - - - - - - Contract for managing Dictionary adapter notifications. - - - - - Defines the contract for retrieving dictionary values. - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Defines the contract for updating dictionary values. - - - - - Sets the stored dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if the property should be stored. - - - - Contract for validating Dictionary adapter. - - - - - Contract for dictionary validation. - - - - - Determines if is valid. - - The dictionary adapter. - true if valid. - - - - Validates the . - - The dictionary adapter. - The error summary information. - - - - Validates the for a property. - - The dictionary adapter. - The property to validate. - The property summary information. - - - - Invalidates any results cached by the validator. - - The dictionary adapter. - - - - Contract for property descriptor initialization. - - - - - Performs any initialization of the - - The property descriptor. - The property behaviors. - - - - - - - - - Initializes a new instance of the class. - - The name values. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Gets or sets the with the specified key. - - - - - Adapts the specified name values. - - The name values. - - - - Describes a dictionary property. - - - - - Initializes an empty class. - - - - - Initializes a new instance of the class. - - The property. - The annotations. - - - - Initializes a new instance class. - - - - - Copies an existing instance of the class. - - - - - - - - - - Gets the property name. - - - - - Gets the property type. - - - - - Gets the property. - - The property. - - - - Returns true if the property is dynamic. - - - - - Gets additional state. - - - - - Determines if property should be fetched. - - - - - Determines if property must exist first. - - - - - Determines if notifications should occur. - - - - - Gets the property behaviors. - - - - - Gets the type converter. - - The type converter. - - - - Gets the extended properties. - - - - - Gets the setter. - - The setter. - - - - Gets the key builders. - - The key builders. - - - - Gets the setter. - - The setter. - - - - Gets the getter. - - The getter. - - - - Gets the initializers. - - The initializers. - - - - Gets the meta-data initializers. - - The meta-data initializers. - - - - Gets the key. - - The dictionary adapter. - The key. - The descriptor. - - - - Gets the property value. - - The dictionary adapter. - The key. - The stored value. - The descriptor. - true if return only existing. - - - - Sets the property value. - - The dictionary adapter. - The key. - The value. - The descriptor. - - - - Adds a single behavior. - - The behavior. - - - - Adds the behaviors. - - The behaviors. - - - - Adds the behaviors. - - The behaviors. - - - - Copies the behaviors to the other - - - - - Copies the - - - - - Provides a generic collection that supports data binding. - - - This class wraps the CLR - in order to implement the Castle-specific . - - The type of elements in the list. - - - - Initializes a new instance of the class - using default values. - - - - - Initializes a new instance of the class - with the specified list. - - - An of items - to be contained in the . - - - - - Initializes a new instance of the class - wrapping the specified instance. - - - A - to be wrapped by the . - - - - - Contract for value matching. - - - - - Contract for dynamic value resolution. - - - - - Contract for typed dynamic value resolution. - - - - - - This is an abstract implementation - that deals with methods that can be abstracted away - from underlying implementations. - - - AbstractConfiguration makes easier to implementers - to create a new version of - - - - - Gets node attributes. - - - All attributes of the node. - - - - - Gets all child nodes. - - The of child nodes. - - - - Gets the name of the . - - - The Name of the . - - - - - Gets the value of . - - - The Value of the . - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - A collection of objects. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Creates a new instance of ConfigurationCollection. - - - - - is a interface encapsulating a configuration node - used to retrieve configuration values. - - - - - Gets the name of the node. - - - The Name of the node. - - - - - Gets the value of the node. - - - The Value of the node. - - - - - Gets an of - elements containing all node children. - - The Collection of child nodes. - - - - Gets an of the configuration attributes. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - Initializes a new instance of the class. - - The name. - - - - Gets the value of . - - - The Value of the . - - - - - Deserializes the specified node into an abstract representation of configuration. - - The node. - - - - If a config value is an empty string we return null, this is to keep - backward compatibility with old code - - - - - Helper class for retrieving attributes. - - - - - Gets the attribute. - - The type. - The type attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The type. - The type attributes. - - - - Gets the attribute. - - The member. - The member attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The member. - The member attributes. - - - - Gets the type attribute. - - The type. - The type attribute. - - - - Gets the type attributes. - - The type. - The type attributes. - - - - Gets the type converter. - - The member. - - - - Constant to use when making assembly internals visible to Castle.Core - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] - - - - - Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] - - - - - Find the best available name to describe a type. - - - Usually the best name will be , but - sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) - in which case the method falls back to . - - the type to name - the best name - - - - Defines that the implementation wants a - in order to - access other components. The creator must be aware - that the component might (or might not) implement - the interface. - - - Used by Castle Project components to, for example, - gather logging factories - - - - - Increments IServiceProvider with a generic service resolution operation. - - - - - This interface should be implemented by classes - that are available in a bigger context, exposing - the container to different areas in the same application. - - For example, in Web application, the (global) HttpApplication - subclasses should implement this interface to expose - the configured container - - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Gets the configuration file. - - i.e. log4net.config - - - - Gets the configuration file. - - i.e. log4net.config - - - - The Logger sending everything to the standard output streams. - This is mainly for the cases when you have a utility that - does not have a logger to supply. - - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug and the Name - set to string.Empty. - - - - - Creates a new ConsoleLogger with the Name - set to string.Empty. - - The logs Level. - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug. - - The logs Name. - - - - Creates a new ConsoleLogger. - - The logs Name. - The logs Level. - - - - A Common method to log. - - The level of logging - The name of the logger - The Message - The Exception - - - - Returns a new ConsoleLogger with the name - added after this loggers name, with a dot in between. - - The added hierarchical name. - A new ConsoleLogger. - - - - The Logger using standard Diagnostics namespace. - - - - - Creates a logger based on . - - - - - - Creates a logger based on . - - - - - - - Creates a logger based on . - - - - - - - - Interface for Context Properties implementations - - - - This interface defines a basic property get set accessor. - - - Based on the ContextPropertiesBase of log4net, by Nicko Cadell. - - - - - - Gets or sets the value of a property - - - The value for the property with the specified key - - - - Gets or sets the value of a property - - - - - - Provides an interface that supports and - allows the storage and retrieval of Contexts. These are supported in - both log4net and NLog. - - - - - Exposes the Global Context of the extended logger. - - - - - Exposes the Thread Context of the extended logger. - - - - - Exposes the Thread Stack of the extended logger. - - - - - Provides a factory that can produce either or - classes. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Manages logging. - - - This is a facade for the different logging subsystems. - It offers a simplified interface that follows IOC patterns - and a simplified priority/level/severity abstraction. - - - - - Determines if messages of priority "trace" will be logged. - - True if "trace" messages will be logged. - - - - Determines if messages of priority "debug" will be logged. - - True if "debug" messages will be logged. - - - - Determines if messages of priority "error" will be logged. - - True if "error" messages will be logged. - - - - Determines if messages of priority "fatal" will be logged. - - True if "fatal" messages will be logged. - - - - Determines if messages of priority "info" will be logged. - - True if "info" messages will be logged. - - - - Determines if messages of priority "warn" will be logged. - - True if "warn" messages will be logged. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - If the name has an empty element name. - - - - Logs a trace message. - - The message to log - - - - Logs a trace message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs a info message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Manages the instantiation of s. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - The Level Filtered Logger class. This is a base class which - provides a LogLevel attribute and reroutes all functions into - one Log method. - - - - - Creates a new LevelFilteredLogger. - - - - - The LoggerLevel that this logger - will be using. Defaults to LoggerLevel.Off - - - - - The name that this logger will be using. - Defaults to string.Empty - - - - - Logs a trace message. - - The message to log - - - - Logs a trace message. - - A functor to create the message - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Determines if messages of priority "trace" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "debug" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "info" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "warn" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "error" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Implementors output the log content by implementing this method only. - Note that exception can be null - - - - - Supporting Logger levels. - - - - - Logging will be off - - - - - Fatal logging level - - - - - Error logging level - - - - - Warn logging level - - - - - Info logging level - - - - - Debug logging level - - - - - Trace logging level - - - - - NullLogFactory used when logging is turned off. - - - - - Creates an instance of ILogger with the specified name. - - Name. - - - - Creates an instance of ILogger with the specified name and LoggerLevel. - - Name. - Level. - - - - The Null Logger class. This is useful for implementations where you need - to provide a logger to a utility class, but do not want any output from it. - It also helps when you have a utility that does not have a logger to supply. - - - - - Returns empty context properties. - - - - - Returns empty context properties. - - - - - Returns empty context stacks. - - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - Returns this NullLogger. - - Ignored - This ILogger instance. - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - The Stream Logger class. This class can stream log information - to any stream, it is suitable for storing a log file to disk, - or to a MemoryStream for testing your components. - - - This logger is not thread safe. - - - - - Creates a new StreamLogger with default encoding - and buffer size. Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - - - Creates a new StreamLogger with default buffer size. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - - - Creates a new StreamLogger. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - The buffer size that will be used for this stream. - - - - - - Creates a new StreamLogger with - Debug as default Level. - - The name of the log. - The StreamWriter the log will write to. - - - - Creates outputting - to files. The name of the file is derived from the log name - plus the 'log' extension. - - - - - The TraceLogger sends all logging to the System.Diagnostics.TraceSource - built into the .net framework. - - - Logging can be configured in the system.diagnostics configuration - section. - - If logger doesn't find a source name with a full match it will - use source names which match the namespace partially. For example you can - configure from all castle components by adding a source name with the - name "Castle". - - If no portion of the namespace matches the source named "Default" will - be used. - - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - The default logging level at which this source should write messages. In almost all cases this - default value will be overridden in the config file. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - - - - Used to create the TraceLogger implementation of ILogger interface. See . - - - - - List of utility methods related to dynamic proxy operations - - - - - Determines whether the specified type is a proxy generated by - DynamicProxy (1 or 2). - - The type. - - true if it is a proxy; otherwise, false. - - - - - Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. - - - - - Initializes a new instance of the class. - - The target. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets or sets the with the specified key. - - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - is null. - An element with the same key already exists in the object. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - is null. - The object is read-only.-or- The has a fixed size. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - is less than zero. - - is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . - The type of the source cannot be cast automatically to the type of the destination . - - - - Returns an object for the object. - - - An object for the object. - - - - - Reads values of properties from and inserts them into using property names as keys. - - - - - - - - - - This returns a new stream instance each time it is called. - It is the responsibility of the caller to dispose of this stream - - - - - - - - - - - - - - - Represents a 'streamable' resource. Can - be a file, a resource in an assembly. - - - - - Only valid for resources that - can be obtained through relative paths - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns an instance of - created according to the relativePath - using itself as the root. - - - - - Depicts the contract for resource factories. - - - - - Used to check whether the resource factory - is able to deal with the given resource - identifier. - - - Implementors should return true - only if the given identifier is supported - by the resource factory - - - - - Creates an instance - for the given resource identifier - - - - - Creates an instance - for the given resource identifier - - - - - Adapts a static string content as an - - - - - Enable access to files on network shares - - - - - Default implementation. - - - - - Initializes a new instance of the class based on the configuration provided in the application configuration file. - - - This constructor is based on the default configuration in the application configuration file. - - - - - This service implementation - requires a host name in order to work - - The smtp server name - - - - Gets or sets the port used to - access the SMTP server - - - - - Gets the hostname. - - The hostname. - - - - Gets or sets a value which is used to - configure if emails are going to be sent asynchronously or not. - - - - - Gets or sets a value that specifies - the amount of time after which a synchronous Send call times out. - - - - - Gets or sets a value indicating whether the email should be sent using - a secure communication channel. - - true if should use SSL; otherwise, false. - - - - Sends a message. - - If any of the parameters is null - From field - To field - e-mail's subject - message's body - - - - Sends a message. - - If the message is null - Message instance - - - - Gets or sets the domain. - - The domain. - - - - Gets or sets the name of the user. - - The name of the user. - - - - Gets or sets the password. - - The password. - - - - Configures the sender - with port information and eventual credential - informed - - Message instance - - - - Gets a value indicating whether credentials were informed. - - - if this instance has credentials; otherwise, . - - - - - Email sender abstraction. - - - - - Sends a mail message. - - From field - To field - E-mail's subject - message's body - - - - Sends a message. - - Message instance - - - - Sends multiple messages. - - List of messages - - - - Interface describing elements composing generated type - - - - - Performs some basic screening and invokes the - to select methods. - - - - - Performs some basic screening to filter out non-interceptable methods. - - - The will get invoked for non-interceptable method notification only; - it does not get asked whether or not to intercept the . - - - - - Reproduces the proxied type's non-inheritable custom attributes on the proxy type. - - - - - Adds an implementation for to the proxy type. - - - - - Encapsulates the information needed to build an attribute. - - - Arrays passed to this class as constructor arguments or property or field values become owned by this class. - They should not be mutated after creation. - - - - - Default implementation of interface producing in-memory proxy assemblies. - - - - - Initializes a new instance of the class with new . - - - - - Initializes a new instance of the class. - - The module scope for generated proxy types. - - - - Provides instructions that a user could follow to make a type or method in - visible to DynamicProxy. - The assembly containing the type or method. - Instructions that a user could follow to make a type or method visible to DynamicProxy. - - - - Creates a message to inform clients that a proxy couldn't be created due to reliance on an - inaccessible type (perhaps itself). - - the inaccessible type that prevents proxy creation - the type that couldn't be proxied - - - - Base class that exposes the common functionalities - to proxy generation. - - - - - It is safe to add mapping (no mapping for the interface exists) - - - - - Generates a parameters constructor that initializes the proxy - state with just to make it non-null. - - This constructor is important to allow proxies to be XML serializable - - - - - - Initializes a new instance of the class. - - Target element. This is either target type or target method for invocation types. - The type of the proxy. This is base type for invocation types. - The interfaces. - The options. - - - - Initializes a new instance of the class. - - Type of the target. - The interfaces. - The options. - - - - Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. - - - - - Provides appropriate Ldind.X opcode for - the type of primitive value to be loaded indirectly. - - - - - Emits a load indirect opcode of the appropriate type for a value or object reference. - Pops a pointer off the evaluation stack, dereferences it and loads - a value of the specified type. - - - - - Emits a load opcode of the appropriate kind for the constant default value of a - type, such as 0 for value types and null for reference types. - - - - - Emits a store indirectopcode of the appropriate type for a value or object reference. - Pops a value of the specified type and a pointer off the evaluation stack, and - stores the value. - - - - - Wraps a reference that is passed - ByRef and provides indirect load/store support. - - - - - Provides appropriate Stind.X opcode - for the type of primitive value to be stored indirectly. - - - - - Represents the scope of uniqueness of names for types and their members - - - - - Gets a unique name based on - - Name suggested by the caller - Unique name based on . - - Implementers should provide name as closely resembling as possible. - Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. - Implementers must return deterministic names, that is when is called twice - with the same suggested name, the same returned name should be provided each time. Non-deterministic return - values, like appending random suffices will break serialization of proxies. - - - - - Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision - with enclosing scope, or other subscopes is possible. - - New naming scope. - - - - Generates the constructor for the class that extends - - - - - - Initializes a new instance of the class. - - The event. - The add method. - The remove method. - The attributes. - - - - Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue - where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. - - - - - Exposes means to change target objects of proxies and invocations. - - - - - Changes the target object () of current . - - The new value of target of invocation. - - Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Permanently changes the target object of the proxy. This does not affect target of the current invocation. - - The new value of target of the proxy. - - Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Provides the main DynamicProxy extension point that allows member interception. - - - - - Provides an extension point that allows proxies to choose specific interceptors on - a per method basis. - - - - - Selects the interceptors that should intercept calls to the given . - - The type of the target object. - The method that will be intercepted. - All interceptors registered with the proxy. - An array of interceptors to invoke upon calling the . - - This method is called only once per proxy instance, upon the first call to the - . Either an empty array or null are valid return values to indicate - that no interceptor should intercept calls to the method. Although it is not advised, it is - legal to return other implementations than these provided in - . - - - - - Encapsulates an invocation of a proxied method. - - - - - Gets the arguments that the has been invoked with. - - The arguments the method was invoked with. - - - - Gets the generic arguments of the method. - - The generic arguments, or null if not a generic method. - - - - Gets the object on which the invocation is performed. This is different from proxy object - because most of the time this will be the proxy target object. - - - The invocation target. - - - - Gets the representing the method being invoked on the proxy. - - The representing the method being invoked. - - - - For interface proxies, this will point to the on the target class. - - The method invocation target. - - - - Gets the proxy object on which the intercepted method is invoked. - - Proxy object on which the intercepted method is invoked. - - - - Gets or sets the return value of the method. - - The return value of the method. - - - - Gets the type of the target object for the intercepted method. - - The type of the target object. - - - - Gets the value of the argument at the specified . - - The index. - The value of the argument at the specified . - - - - Returns the concrete instantiation of the on the proxy, with any generic - parameters bound to real types. - - - The concrete instantiation of the on the proxy, or the if - not a generic method. - - - Can be slower than calling . - - - - - Returns the concrete instantiation of , with any - generic parameters bound to real types. - For interface proxies, this will point to the on the target class. - - The concrete instantiation of , or - if not a generic method. - - In debug builds this can be slower than calling . - - - - - Proceeds the call to the next interceptor in line, and ultimately to the target method. - - - Since interface proxies without a target don't have the target implementation to proceed to, - it is important, that the last interceptor does not call this method, otherwise a - will be thrown. - - - - - Returns an object describing the operation for this - at this specific point during interception. - - - - - Overrides the value of an argument at the given with the - new provided. - - - This method accepts an , however the value provided must be compatible - with the type of the argument defined on the method, otherwise an exception will be thrown. - - The index of the argument to override. - The new value for the argument. - - - - Describes the operation for an - at a specific point during interception. - - - - - Executes the operation described by this instance. - - There is no interceptor, nor a proxy target object, to proceed to. - - - - Attributes should be replicated if they are non-inheritable, - but there are some special cases where the attributes means - something to the CLR, where they should be skipped. - - - - - Returns list of all unique interfaces implemented given types, including their base interfaces. - - - - - Checks whether the specified is a delegate type (i.e. a direct subclass of ). - - - - - Abstracts the implementation of proxy type construction. - - - - - Gets or sets the that this logs to. - - - - - Gets the associated with this builder. - - The module scope associated with this builder. - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type that proxies calls to members on , implementing , using provided. - - The interface type to proxy. - Additional interface types to proxy. - Type implementing on which calls to the interface members should be intercepted. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors - and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, - to allow interceptors to switch invocation target with instance of another type implementing called interface. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given that delegates all calls to the provided interceptors. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Used during the target type inspection process. Implementors have a chance to customize the - proxy generation process. - - - - - Invoked by the generation process to notify that the whole process has completed. - - - - - Invoked by the generation process to notify that a member was not marked as virtual. - - The type which declares the non-virtual member. - The non-virtual member. - - This method gives an opportunity to inspect any non-proxyable member of a type that has - been requested to be proxied, and if appropriate - throw an exception to notify the caller. - - - - - Invoked by the generation process to determine if the specified method should be proxied. - - The type which declares the given method. - The method to inspect. - True if the given method should be proxied; false otherwise. - - - - Provides proxy objects for classes and interfaces. - - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Exposes access to the target object and interceptors of proxy objects. - This is a DynamicProxy infrastructure interface and should not be implemented yourself. - - - - - Get the proxy target (note that null is a valid target!) - - - - - Set the proxy target. - - New proxy target. - - - - Gets the interceptors for the proxy - - - - - Because we need to cache the types based on the mixed in mixins, we do the following here: - - Get all the mixin interfaces - - Sort them by full name - - Return them by position - - The idea is to have reproducible behavior for the case that mixins are registered in different orders. - This method is here because it is required - - - - - The default file name used when the assembly is saved using . - - - - - The default assembly (simple) name used for the assemblies generated by a instance. - - - - - Initializes a new instance of the class; assemblies created by this instance will not be saved. - - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Gets the key pair used to sign the strong-named assembly generated by this . - - - - - Gets the strong-named module generated by this scope, or if none has yet been generated. - - The strong-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the strongly named module generated by this scope. - - The file name of the strongly named module generated by this scope. - - - - Gets the weak-named module generated by this scope, or if none has yet been generated. - - The weak-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the weakly named module generated by this scope. - - The file name of the weakly named module generated by this scope. - - - - Gets the specified module generated by this scope, creating a new one if none has yet been generated. - - If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. - A strong-named or weak-named module generated by this scope, as specified by the parameter. - - - - Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. - - A strong-named module generated by this scope. - - - - Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. - - A weak-named module generated by this scope. - - - - allows customization of the behavior of proxies created by - an (or proxy types generated by an ). - - You should not modify an instance of once it has been - used to create a proxy (or proxy type). - - - - - - Initializes a new instance of the class. - - The hook. - - - - Initializes a new instance of the class. - - - - - Gets or sets the that should be used during proxy type - generation. Defaults to an instance of . - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the that should be used by created proxies - to determine which interceptors to use for an interception. If set to - (which is the default), created proxies will not use any selector. - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the class type from which generated interface proxy types will be derived. - Defaults to (). - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets the collection of additional custom attributes that will be put on generated proxy types. - This collection is initially empty. - - You should not modify this collection once this instance - has been used to create a proxy. - - - - - - Adds a delegate type to the list of mixins that will be added to generated proxies. - That is, generated proxies will have a `Invoke` method with a signature matching that - of the specified . - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate type whose `Invoke` method should be reproduced in generated proxies. - is . - is not a delegate type. - - - - Adds a delegate to be mixed into generated proxies. The - will act as the target for calls to a `Invoke` method with a signature matching that - of the delegate. - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate that should act as the target for calls to `Invoke` methods with a matching signature. - is . - - - - Mixes the interfaces implemented by the specified object into - created proxies, and uses as the target for these mixed-in interfaces. - - You should not call this method once this instance - has been used to create a proxy. - - - The object that should act as the target for all of its implemented interfaces' methods. - is . - is an instance of . - - - - Provides proxy objects for classes and interfaces. - - - - - Initializes a new instance of the class. - - Proxy types builder. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - If true forces all types to be generated into an unsigned module. - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates the proxy type for class proxy with given class, implementing given and using provided . - - The base class for proxy type. - The interfaces that proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - Actual type that the proxy type will encompass. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested type. - - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested . - - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified type is accessible to DynamicProxy. - The type to check. - true if the type is accessible to DynamicProxy, false otherwise. - - - - Determines whether this assembly has internals visible to DynamicProxy. - - The assembly to inspect. - - - - Checks whether the specified method is accessible to DynamicProxy. - Unlike with , the declaring type's accessibility is ignored. - - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Determines whether the specified method is internal. - - The method. - - true if the specified method is internal; otherwise, false. - - - - - Holds objects representing methods of class. - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll deleted file mode 100644 index 023dc29f..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml deleted file mode 100644 index a7c6b9ba..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/lib/netstandard2.1/Castle.Core.xml +++ /dev/null @@ -1,5898 +0,0 @@ - - - - Castle.Core - - - - - Abstract adapter for the support - needed by the - - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - An element with the same key already exists in the object. - key is null. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Returns an object for the object. - - - An object for the object. - - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - The object is read-only.-or- The has a fixed size. - key is null. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets or sets the with the specified key. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in array at which copying begins. - array is null. - The type of the source cannot be cast automatically to the type of the destination array. - index is less than zero. - array is multidimensional.-or- index is equal to or greater than the length of array.-or- The number of elements in the source is greater than the available space from index to the end of the destination array. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Abstract implementation of . - - - - - Identifies a property should be represented as a nested component. - - - - - Applies no prefix. - - - - - Gets or sets the prefix. - - The prefix. - - - - Identifies the dictionary adapter types. - - - - - Assigns a specific dictionary key. - - - - - Identifies an interface or property to be pre-fetched. - - - - - Instructs fetching to occur. - - - - - Instructs fetching according to - - - - - Gets whether or not fetching should occur. - - - - - Assigns a property to a group. - - - - - Constructs a group assignment. - - The group name. - - - - Constructs a group assignment. - - The group name. - - - - Gets the group the property is assigned to. - - - - - Suppresses any on-demand behaviors. - - - - - Assigns a specific dictionary key. - - - - - Initializes a new instance of the class. - - The key. - - - - Initializes a new instance of the class. - - The compound key. - - - - Assigns a prefix to the keyed properties of an interface. - - - Key prefixes are not inherited by sub-interfaces. - - - - - Initializes a default instance of the class. - - - - - Initializes a new instance of the class. - - The prefix for the keyed properties of the interface. - - - - Gets the prefix key added to the properties of the interface. - - - - - Substitutes part of key with another string. - - - - - Initializes a new instance of the class. - - The old value. - The new value. - - - - Requests support for multi-level editing. - - - - - Generates a new GUID on demand. - - - - - Support for on-demand value resolution. - - - - - Specifies assignment by reference rather than by copying. - - - - - Removes a property if matches value. - - - - - Removes a property if null or empty string, guid or collection. - - - - - Provides simple string formatting from existing properties. - - - - - Gets the string format. - - - - - Gets the format properties. - - - - - Identifies a property should be represented as a delimited string value. - - - - - Gets the separator. - - - - - Converts all properties to strings. - - - - - Gets or sets the format. - - The format. - - - - Suppress property change notifications. - - - - - Assigns a prefix to the keyed properties using the interface name. - - - - - Indicates that underlying values are changeable and should not be cached. - - - - - Initializes a new instance of the class - that represents a child object in a larger object graph. - - - - - Manages conversion between property values. - - - - - Initializes a new instance of the class. - - The converter. - - - - - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Uses Reflection.Emit to expose the properties of a dictionary - through a dynamic implementation of a typed interface. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wraps a with a dynamic object to expose a bit better looking API. - The implementation is trivial and assumes keys are s. - - - - - Contract for manipulating the Dictionary adapter. - - - - - Defines the contract for building typed dictionary adapters. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - The property descriptor. - An implementation of the typed interface bound to the dictionary. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the namedValues. - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets a typed adapter bound to the . - - The typed interface. - The underlying source of properties. - An implementation of the typed interface bound to the . - - The type represented by T must be an interface with properties. - - - - - Gets the associated with the type. - - The typed interface. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - The property descriptor. - The adapter meta-data. - - - - Gets the associated with the type. - - The typed interface. - Another from which to copy behaviors. - The adapter meta-data. - - - - Contract for traversing a . - - - - - Defines the contract for customizing dictionary access. - - - - - Determines relative order to apply related behaviors. - - - - - Copies the dictionary behavior. - - null if should not be copied. Otherwise copy. - - - - Defines the contract for building s. - - - - - Builds the dictionary behaviors. - - - - - Contract for creating additional Dictionary adapters. - - - - - Contract for editing the Dictionary adapter. - - - - - Contract for dictionary initialization. - - - - - Performs any initialization of the - - The dictionary adapter. - The dictionary behaviors. - - - - Defines the contract for building typed dictionary keys. - - - - - Builds the specified key. - - The dictionary adapter. - The current key. - The property. - The updated key - - - - Contract for dictionary meta-data initialization. - - - - - Initializes the given object. - - The dictionary adapter factory. - The dictionary adapter meta. - - - - - Determines whether the given behavior should be included in a new - object. - - A dictionary behavior or annotation. - True if the behavior should be included; otherwise, false. - - behaviors are always included, - regardless of the result of this method. - - - - - - Contract for managing Dictionary adapter notifications. - - - - - Defines the contract for retrieving dictionary values. - - - - - Gets the effective dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if return only existing. - The effective property value. - - - - Defines the contract for updating dictionary values. - - - - - Sets the stored dictionary value. - - The dictionary adapter. - The key. - The stored value. - The property. - true if the property should be stored. - - - - Contract for validating Dictionary adapter. - - - - - Contract for dictionary validation. - - - - - Determines if is valid. - - The dictionary adapter. - true if valid. - - - - Validates the . - - The dictionary adapter. - The error summary information. - - - - Validates the for a property. - - The dictionary adapter. - The property to validate. - The property summary information. - - - - Invalidates any results cached by the validator. - - The dictionary adapter. - - - - Contract for property descriptor initialization. - - - - - Performs any initialization of the - - The property descriptor. - The property behaviors. - - - - - - - - - Initializes a new instance of the class. - - The name values. - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - key is null. - - - - Gets or sets the with the specified key. - - - - - Adapts the specified name values. - - The name values. - - - - Describes a dictionary property. - - - - - Initializes an empty class. - - - - - Initializes a new instance of the class. - - The property. - The annotations. - - - - Initializes a new instance class. - - - - - Copies an existing instance of the class. - - - - - - - - - - Gets the property name. - - - - - Gets the property type. - - - - - Gets the property. - - The property. - - - - Returns true if the property is dynamic. - - - - - Gets additional state. - - - - - Determines if property should be fetched. - - - - - Determines if property must exist first. - - - - - Determines if notifications should occur. - - - - - Gets the property behaviors. - - - - - Gets the type converter. - - The type converter. - - - - Gets the extended properties. - - - - - Gets the setter. - - The setter. - - - - Gets the key builders. - - The key builders. - - - - Gets the setter. - - The setter. - - - - Gets the getter. - - The getter. - - - - Gets the initializers. - - The initializers. - - - - Gets the meta-data initializers. - - The meta-data initializers. - - - - Gets the key. - - The dictionary adapter. - The key. - The descriptor. - - - - Gets the property value. - - The dictionary adapter. - The key. - The stored value. - The descriptor. - true if return only existing. - - - - Sets the property value. - - The dictionary adapter. - The key. - The value. - The descriptor. - - - - Adds a single behavior. - - The behavior. - - - - Adds the behaviors. - - The behaviors. - - - - Adds the behaviors. - - The behaviors. - - - - Copies the behaviors to the other - - - - - Copies the - - - - - Provides a generic collection that supports data binding. - - - This class wraps the CLR - in order to implement the Castle-specific . - - The type of elements in the list. - - - - Initializes a new instance of the class - using default values. - - - - - Initializes a new instance of the class - with the specified list. - - - An of items - to be contained in the . - - - - - Initializes a new instance of the class - wrapping the specified instance. - - - A - to be wrapped by the . - - - - - Contract for value matching. - - - - - Contract for dynamic value resolution. - - - - - Contract for typed dynamic value resolution. - - - - - - This is an abstract implementation - that deals with methods that can be abstracted away - from underlying implementations. - - - AbstractConfiguration makes easier to implementers - to create a new version of - - - - - Gets node attributes. - - - All attributes of the node. - - - - - Gets all child nodes. - - The of child nodes. - - - - Gets the name of the . - - - The Name of the . - - - - - Gets the value of . - - - The Value of the . - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - A collection of objects. - - - - - Creates a new instance of ConfigurationCollection. - - - - - Creates a new instance of ConfigurationCollection. - - - - - is a interface encapsulating a configuration node - used to retrieve configuration values. - - - - - Gets the name of the node. - - - The Name of the node. - - - - - Gets the value of the node. - - - The Value of the node. - - - - - Gets an of - elements containing all node children. - - The Collection of child nodes. - - - - Gets an of the configuration attributes. - - - - - Gets the value of the node and converts it - into specified . - - The - - The Default value returned if the conversion fails. - - The Value converted into the specified type. - - - - Initializes a new instance of the class. - - The name. - - - - Gets the value of . - - - The Value of the . - - - - - Deserializes the specified node into an abstract representation of configuration. - - The node. - - - - If a config value is an empty string we return null, this is to keep - backward compatibility with old code - - - - - Helper class for retrieving attributes. - - - - - Gets the attribute. - - The type. - The type attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The type. - The type attributes. - - - - Gets the attribute. - - The member. - The member attribute. - - - - Gets the attributes. Does not consider inherited attributes! - - The member. - The member attributes. - - - - Gets the type attribute. - - The type. - The type attribute. - - - - Gets the type attributes. - - The type. - The type attributes. - - - - Gets the type converter. - - The member. - - - - Constant to use when making assembly internals visible to Castle.Core - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToCastleCore)] - - - - - Constant to use when making assembly internals visible to proxy types generated by DynamicProxy. Required when proxying internal types. - [assembly: InternalsVisibleTo(CoreInternalsVisible.ToDynamicProxyGenAssembly2)] - - - - - Find the best available name to describe a type. - - - Usually the best name will be , but - sometimes that's null (see http://msdn.microsoft.com/en-us/library/system.type.fullname%28v=vs.110%29.aspx) - in which case the method falls back to . - - the type to name - the best name - - - - Defines that the implementation wants a - in order to - access other components. The creator must be aware - that the component might (or might not) implement - the interface. - - - Used by Castle Project components to, for example, - gather logging factories - - - - - Increments IServiceProvider with a generic service resolution operation. - - - - - This interface should be implemented by classes - that are available in a bigger context, exposing - the container to different areas in the same application. - - For example, in Web application, the (global) HttpApplication - subclasses should implement this interface to expose - the configured container - - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Gets the configuration file. - - i.e. log4net.config - - - - Gets the configuration file. - - i.e. log4net.config - - - - The Logger sending everything to the standard output streams. - This is mainly for the cases when you have a utility that - does not have a logger to supply. - - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug and the Name - set to string.Empty. - - - - - Creates a new ConsoleLogger with the Name - set to string.Empty. - - The logs Level. - - - - Creates a new ConsoleLogger with the Level - set to LoggerLevel.Debug. - - The logs Name. - - - - Creates a new ConsoleLogger. - - The logs Name. - The logs Level. - - - - A Common method to log. - - The level of logging - The name of the logger - The Message - The Exception - - - - Returns a new ConsoleLogger with the name - added after this loggers name, with a dot in between. - - The added hierarchical name. - A new ConsoleLogger. - - - - The Logger using standard Diagnostics namespace. - - - - - Creates a logger based on . - - - - - - Creates a logger based on . - - - - - - - Creates a logger based on . - - - - - - - - Interface for Context Properties implementations - - - - This interface defines a basic property get set accessor. - - - Based on the ContextPropertiesBase of log4net, by Nicko Cadell. - - - - - - Gets or sets the value of a property - - - The value for the property with the specified key - - - - Gets or sets the value of a property - - - - - - Provides an interface that supports and - allows the storage and retrieval of Contexts. These are supported in - both log4net and NLog. - - - - - Exposes the Global Context of the extended logger. - - - - - Exposes the Thread Context of the extended logger. - - - - - Exposes the Thread Stack of the extended logger. - - - - - Provides a factory that can produce either or - classes. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Creates a new extended logger, getting the logger name from the specified type. - - - - - Creates a new extended logger. - - - - - Manages logging. - - - This is a facade for the different logging subsystems. - It offers a simplified interface that follows IOC patterns - and a simplified priority/level/severity abstraction. - - - - - Determines if messages of priority "trace" will be logged. - - True if "trace" messages will be logged. - - - - Determines if messages of priority "debug" will be logged. - - True if "debug" messages will be logged. - - - - Determines if messages of priority "error" will be logged. - - True if "error" messages will be logged. - - - - Determines if messages of priority "fatal" will be logged. - - True if "fatal" messages will be logged. - - - - Determines if messages of priority "info" will be logged. - - True if "info" messages will be logged. - - - - Determines if messages of priority "warn" will be logged. - - True if "warn" messages will be logged. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - If the name has an empty element name. - - - - Logs a trace message. - - The message to log - - - - Logs a trace message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs a info message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message with lazily constructed message. The message will be constructed only if the is true. - - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Manages the instantiation of s. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - Creates a new logger, getting the logger name from the specified type. - - - - - Creates a new logger. - - - - - The Level Filtered Logger class. This is a base class which - provides a LogLevel attribute and reroutes all functions into - one Log method. - - - - - Creates a new LevelFilteredLogger. - - - - - The LoggerLevel that this logger - will be using. Defaults to LoggerLevel.Off - - - - - The name that this logger will be using. - Defaults to string.Empty - - - - - Logs a trace message. - - The message to log - - - - Logs a trace message. - - A functor to create the message - - - - Logs a trace message. - - The exception to log - The message to log - - - - Logs a trace message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a trace message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The message to log - - - - Logs a debug message. - - The exception to log - The message to log - - - - Logs a debug message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a debug message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The message to log - - - - Logs an info message. - - The exception to log - The message to log - - - - Logs an info message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an info message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The message to log - - - - Logs a warn message. - - The exception to log - The message to log - - - - Logs a warn message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a warn message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The message to log - - - - Logs an error message. - - The exception to log - The message to log - - - - Logs an error message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs an error message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The message to log - - - - Logs a fatal message. - - The exception to log - The message to log - - - - Logs a fatal message. - - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Logs a fatal message. - - The exception to log - The format provider to use - Format string for the message to log - Format arguments for the message to log - - - - Determines if messages of priority "trace" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "debug" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "info" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "warn" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "error" will be logged. - - true if log level flags include the bit - - - - Determines if messages of priority "fatal" will be logged. - - true if log level flags include the bit - - - - Implementors output the log content by implementing this method only. - Note that exception can be null - - - - - Supporting Logger levels. - - - - - Logging will be off - - - - - Fatal logging level - - - - - Error logging level - - - - - Warn logging level - - - - - Info logging level - - - - - Debug logging level - - - - - Trace logging level - - - - - NullLogFactory used when logging is turned off. - - - - - Creates an instance of ILogger with the specified name. - - Name. - - - - Creates an instance of ILogger with the specified name and LoggerLevel. - - Name. - Level. - - - - The Null Logger class. This is useful for implementations where you need - to provide a logger to a utility class, but do not want any output from it. - It also helps when you have a utility that does not have a logger to supply. - - - - - Returns empty context properties. - - - - - Returns empty context properties. - - - - - Returns empty context stacks. - - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - No-op. - - false - - - - Returns this NullLogger. - - Ignored - This ILogger instance. - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - - - - No-op. - - Ignored - Ignored - Ignored - Ignored - - - - The Stream Logger class. This class can stream log information - to any stream, it is suitable for storing a log file to disk, - or to a MemoryStream for testing your components. - - - This logger is not thread safe. - - - - - Creates a new StreamLogger with default encoding - and buffer size. Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - - - Creates a new StreamLogger with default buffer size. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - - - Creates a new StreamLogger. - Initial Level is set to Debug. - - - The name of the log. - - - The stream that will be used for logging, - seeking while the logger is alive - - - The encoding that will be used for this stream. - - - - The buffer size that will be used for this stream. - - - - - - Creates a new StreamLogger with - Debug as default Level. - - The name of the log. - The StreamWriter the log will write to. - - - - Creates outputting - to files. The name of the file is derived from the log name - plus the 'log' extension. - - - - - The TraceLogger sends all logging to the System.Diagnostics.TraceSource - built into the .net framework. - - - Logging can be configured in the system.diagnostics configuration - section. - - If logger doesn't find a source name with a full match it will - use source names which match the namespace partially. For example you can - configure from all castle components by adding a source name with the - name "Castle". - - If no portion of the namespace matches the source named "Default" will - be used. - - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - - - - Build a new trace logger based on the named TraceSource - - The name used to locate the best TraceSource. In most cases comes from the using type's fullname. - The default logging level at which this source should write messages. In almost all cases this - default value will be overridden in the config file. - - - - Create a new child logger. - The name of the child logger is [current-loggers-name].[passed-in-name] - - The Subname of this logger. - The New ILogger instance. - - - - Used to create the TraceLogger implementation of ILogger interface. See . - - - - - List of utility methods related to dynamic proxy operations - - - - - Determines whether the specified type is a proxy generated by - DynamicProxy (1 or 2). - - The type. - - true if it is a proxy; otherwise, false. - - - - - Readonly implementation of which uses an anonymous object as its source. Uses names of properties as keys, and property values as... well - values. Keys are not case sensitive. - - - - - Initializes a new instance of the class. - - The target. - - - - Gets the number of elements contained in the . - - The number of elements contained in the . - - - - Gets a value indicating whether access to the is synchronized (thread safe). - - true if access to the is synchronized (thread safe); otherwise, false. - - - - Gets an object that can be used to synchronize access to the . - - An object that can be used to synchronize access to the . - - - - Gets a value indicating whether the object is read-only. - - true if the object is read-only; otherwise, false. - - - - Gets or sets the with the specified key. - - - - - Gets an object containing the keys of the object. - - An object containing the keys of the object. - - - - Gets an object containing the values in the object. - - An object containing the values in the object. - - - - Gets a value indicating whether the object has a fixed size. - - true if the object has a fixed size; otherwise, false. - - - - Adds an element with the provided key and value to the object. - - The to use as the key of the element to add. - The to use as the value of the element to add. - - is null. - An element with the same key already exists in the object. - The is read-only.-or- The has a fixed size. - - - - Removes all elements from the object. - - The object is read-only. - - - - Determines whether the object contains an element with the specified key. - - The key to locate in the object. - - true if the contains an element with the key; otherwise, false. - - - is null. - - - - Removes the element with the specified key from the object. - - The key of the element to remove. - - is null. - The object is read-only.-or- The has a fixed size. - - - - Returns an enumerator that iterates through a collection. - - - An object that can be used to iterate through the collection. - - - - - Copies the elements of the to an , starting at a particular index. - - The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. - The zero-based index in at which copying begins. - - is null. - - is less than zero. - - is multidimensional.-or- is equal to or greater than the length of .-or- The number of elements in the source is greater than the available space from to the end of the destination . - The type of the source cannot be cast automatically to the type of the destination . - - - - Returns an object for the object. - - - An object for the object. - - - - - Reads values of properties from and inserts them into using property names as keys. - - - - - - - - - - This returns a new stream instance each time it is called. - It is the responsibility of the caller to dispose of this stream - - - - - - - - - - - - - - - Represents a 'streamable' resource. Can - be a file, a resource in an assembly. - - - - - Only valid for resources that - can be obtained through relative paths - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns a reader for the stream - - - It's up to the caller to dispose the reader. - - - - - Returns an instance of - created according to the relativePath - using itself as the root. - - - - - Depicts the contract for resource factories. - - - - - Used to check whether the resource factory - is able to deal with the given resource - identifier. - - - Implementors should return true - only if the given identifier is supported - by the resource factory - - - - - Creates an instance - for the given resource identifier - - - - - Creates an instance - for the given resource identifier - - - - - Adapts a static string content as an - - - - - Enable access to files on network shares - - - - - Default implementation. - - - - - Initializes a new instance of the class based on the configuration provided in the application configuration file. - - - This constructor is based on the default configuration in the application configuration file. - - - - - This service implementation - requires a host name in order to work - - The smtp server name - - - - Gets or sets the port used to - access the SMTP server - - - - - Gets the hostname. - - The hostname. - - - - Gets or sets a value which is used to - configure if emails are going to be sent asynchronously or not. - - - - - Gets or sets a value that specifies - the amount of time after which a synchronous Send call times out. - - - - - Gets or sets a value indicating whether the email should be sent using - a secure communication channel. - - true if should use SSL; otherwise, false. - - - - Sends a message. - - If any of the parameters is null - From field - To field - e-mail's subject - message's body - - - - Sends a message. - - If the message is null - Message instance - - - - Gets or sets the domain. - - The domain. - - - - Gets or sets the name of the user. - - The name of the user. - - - - Gets or sets the password. - - The password. - - - - Configures the sender - with port information and eventual credential - informed - - Message instance - - - - Gets a value indicating whether credentials were informed. - - - if this instance has credentials; otherwise, . - - - - - Email sender abstraction. - - - - - Sends a mail message. - - From field - To field - E-mail's subject - message's body - - - - Sends a message. - - Message instance - - - - Sends multiple messages. - - List of messages - - - - Interface describing elements composing generated type - - - - - Performs some basic screening and invokes the - to select methods. - - - - - Performs some basic screening to filter out non-interceptable methods. - - - The will get invoked for non-interceptable method notification only; - it does not get asked whether or not to intercept the . - - - - - Reproduces the proxied type's non-inheritable custom attributes on the proxy type. - - - - - Adds an implementation for to the proxy type. - - - - - Encapsulates the information needed to build an attribute. - - - Arrays passed to this class as constructor arguments or property or field values become owned by this class. - They should not be mutated after creation. - - - - - Default implementation of interface producing in-memory proxy assemblies. - - - - - Initializes a new instance of the class with new . - - - - - Initializes a new instance of the class. - - The module scope for generated proxy types. - - - - Provides instructions that a user could follow to make a type or method in - visible to DynamicProxy. - The assembly containing the type or method. - Instructions that a user could follow to make a type or method visible to DynamicProxy. - - - - Creates a message to inform clients that a proxy couldn't be created due to reliance on an - inaccessible type (perhaps itself). - - the inaccessible type that prevents proxy creation - the type that couldn't be proxied - - - - Base class that exposes the common functionalities - to proxy generation. - - - - - It is safe to add mapping (no mapping for the interface exists) - - - - - Generates a parameters constructor that initializes the proxy - state with just to make it non-null. - - This constructor is important to allow proxies to be XML serializable - - - - - - Initializes a new instance of the class. - - Target element. This is either target type or target method for invocation types. - The type of the proxy. This is base type for invocation types. - The interfaces. - The options. - - - - Initializes a new instance of the class. - - Type of the target. - The interfaces. - The options. - - - - Provides appropriate Ldc.X opcode for the type of primitive value to be loaded. - - - - - Provides appropriate Ldind.X opcode for - the type of primitive value to be loaded indirectly. - - - - - Emits a load indirect opcode of the appropriate type for a value or object reference. - Pops a pointer off the evaluation stack, dereferences it and loads - a value of the specified type. - - - - - Emits a load opcode of the appropriate kind for the constant default value of a - type, such as 0 for value types and null for reference types. - - - - - Emits a store indirectopcode of the appropriate type for a value or object reference. - Pops a value of the specified type and a pointer off the evaluation stack, and - stores the value. - - - - - Wraps a reference that is passed - ByRef and provides indirect load/store support. - - - - - Provides appropriate Stind.X opcode - for the type of primitive value to be stored indirectly. - - - - - Represents the scope of uniqueness of names for types and their members - - - - - Gets a unique name based on - - Name suggested by the caller - Unique name based on . - - Implementers should provide name as closely resembling as possible. - Generally if no collision occurs it is suggested to return suggested name, otherwise append sequential suffix. - Implementers must return deterministic names, that is when is called twice - with the same suggested name, the same returned name should be provided each time. Non-deterministic return - values, like appending random suffices will break serialization of proxies. - - - - - Returns new, disposable naming scope. It is responsibility of the caller to make sure that no naming collision - with enclosing scope, or other subscopes is possible. - - New naming scope. - - - - Generates the constructor for the class that extends - - - - - - Initializes a new instance of the class. - - The event. - The add method. - The remove method. - The attributes. - - - - Returns the methods implemented by a type. Use this instead of Type.GetMethods() to work around a CLR issue - where duplicate MethodInfos are returned by Type.GetMethods() after a token of a generic type's method was loaded. - - - - - Exposes means to change target objects of proxies and invocations. - - - - - Changes the target object () of current . - - The new value of target of invocation. - - Although the method takes the actual instance must be of type assignable to , otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Permanently changes the target object of the proxy. This does not affect target of the current invocation. - - The new value of target of the proxy. - - Although the method takes the actual instance must be of type assignable to proxy's target type, otherwise an will be thrown. - Also while it's technically legal to pass null reference (Nothing in Visual Basic) as , for obvious reasons Dynamic Proxy will not be able to call the intercepted method on such target. - In this case last interceptor in the pipeline mustn't call or a will be throws. - Also while it's technically legal to pass proxy itself as , this would create stack overflow. - In this case last interceptor in the pipeline mustn't call or a will be throws. - - Thrown when is not assignable to the proxied type. - - - - Provides the main DynamicProxy extension point that allows member interception. - - - - - Provides an extension point that allows proxies to choose specific interceptors on - a per method basis. - - - - - Selects the interceptors that should intercept calls to the given . - - The type of the target object. - The method that will be intercepted. - All interceptors registered with the proxy. - An array of interceptors to invoke upon calling the . - - This method is called only once per proxy instance, upon the first call to the - . Either an empty array or null are valid return values to indicate - that no interceptor should intercept calls to the method. Although it is not advised, it is - legal to return other implementations than these provided in - . - - - - - Encapsulates an invocation of a proxied method. - - - - - Gets the arguments that the has been invoked with. - - The arguments the method was invoked with. - - - - Gets the generic arguments of the method. - - The generic arguments, or null if not a generic method. - - - - Gets the object on which the invocation is performed. This is different from proxy object - because most of the time this will be the proxy target object. - - - The invocation target. - - - - Gets the representing the method being invoked on the proxy. - - The representing the method being invoked. - - - - For interface proxies, this will point to the on the target class. - - The method invocation target. - - - - Gets the proxy object on which the intercepted method is invoked. - - Proxy object on which the intercepted method is invoked. - - - - Gets or sets the return value of the method. - - The return value of the method. - - - - Gets the type of the target object for the intercepted method. - - The type of the target object. - - - - Gets the value of the argument at the specified . - - The index. - The value of the argument at the specified . - - - - Returns the concrete instantiation of the on the proxy, with any generic - parameters bound to real types. - - - The concrete instantiation of the on the proxy, or the if - not a generic method. - - - Can be slower than calling . - - - - - Returns the concrete instantiation of , with any - generic parameters bound to real types. - For interface proxies, this will point to the on the target class. - - The concrete instantiation of , or - if not a generic method. - - In debug builds this can be slower than calling . - - - - - Proceeds the call to the next interceptor in line, and ultimately to the target method. - - - Since interface proxies without a target don't have the target implementation to proceed to, - it is important, that the last interceptor does not call this method, otherwise a - will be thrown. - - - - - Returns an object describing the operation for this - at this specific point during interception. - - - - - Overrides the value of an argument at the given with the - new provided. - - - This method accepts an , however the value provided must be compatible - with the type of the argument defined on the method, otherwise an exception will be thrown. - - The index of the argument to override. - The new value for the argument. - - - - Describes the operation for an - at a specific point during interception. - - - - - Executes the operation described by this instance. - - There is no interceptor, nor a proxy target object, to proceed to. - - - - Attributes should be replicated if they are non-inheritable, - but there are some special cases where the attributes means - something to the CLR, where they should be skipped. - - - - - Returns list of all unique interfaces implemented given types, including their base interfaces. - - - - - Checks whether the specified is a delegate type (i.e. a direct subclass of ). - - - - - Abstracts the implementation of proxy type construction. - - - - - Gets or sets the that this logs to. - - - - - Gets the associated with this builder. - - The module scope associated with this builder. - - - - Creates a proxy type for given , implementing , using provided. - - The class type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified class and interfaces. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type that proxies calls to members on , implementing , using provided. - - The interface type to proxy. - Additional interface types to proxy. - Type implementing on which calls to the interface members should be intercepted. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface that 'proceeds' executions to the specified target. - Additional interfaces should be only 'mark' interfaces, that is, they should work like interface proxy without target. (See method.) - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given and that delegates all calls to the provided interceptors and allows interceptors to switch the actual target of invocation. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface(s) that delegate all executions to the specified interceptors - and uses an instance of the interface as their targets (i.e. ), rather than a class. All classes should then implement interface, - to allow interceptors to switch invocation target with instance of another type implementing called interface. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Creates a proxy type for given that delegates all calls to the provided interceptors. - - The interface type to proxy. - Additional interface types to proxy. - The proxy generation options. - The generated proxy type. - - Implementers should return a proxy type for the specified interface and additional interfaces that delegate all executions to the specified interceptors. - - Thrown when or any of is a generic type definition. - Thrown when or any of is not public. - Note that to avoid this exception, you can mark offending type internal, and define - pointing to Castle Dynamic Proxy assembly, in assembly containing that type, if this is appropriate. - - - - - Used during the target type inspection process. Implementors have a chance to customize the - proxy generation process. - - - - - Invoked by the generation process to notify that the whole process has completed. - - - - - Invoked by the generation process to notify that a member was not marked as virtual. - - The type which declares the non-virtual member. - The non-virtual member. - - This method gives an opportunity to inspect any non-proxyable member of a type that has - been requested to be proxied, and if appropriate - throw an exception to notify the caller. - - - - - Invoked by the generation process to determine if the specified method should be proxied. - - The type which declares the given method. - The method to inspect. - True if the given method should be proxied; false otherwise. - - - - Provides proxy objects for classes and interfaces. - - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Exposes access to the target object and interceptors of proxy objects. - This is a DynamicProxy infrastructure interface and should not be implemented yourself. - - - - - Get the proxy target (note that null is a valid target!) - - - - - Set the proxy target. - - New proxy target. - - - - Gets the interceptors for the proxy - - - - - Because we need to cache the types based on the mixed in mixins, we do the following here: - - Get all the mixin interfaces - - Sort them by full name - - Return them by position - - The idea is to have reproducible behavior for the case that mixins are registered in different orders. - This method is here because it is required - - - - - The default file name used when the assembly is saved using . - - - - - The default assembly (simple) name used for the assemblies generated by a instance. - - - - - Initializes a new instance of the class; assemblies created by this instance will not be saved. - - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Initializes a new instance of the class, allowing to specify whether the assemblies generated by this instance - should be saved and what simple names are to be assigned to them. - - If set to true saves the generated module. - If set to true disables ability to generate signed module. This should be used in cases where ran under constrained permissions. - Naming scope used to provide unique names to generated types and their members (usually via sub-scopes). - The simple name of the strong-named assembly generated by this . - The path and file name of the manifest module of the strong-named assembly generated by this . - The simple name of the weak-named assembly generated by this . - The path and file name of the manifest module of the weak-named assembly generated by this . - - - - Gets the key pair used to sign the strong-named assembly generated by this . - - - - - Gets the strong-named module generated by this scope, or if none has yet been generated. - - The strong-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the strongly named module generated by this scope. - - The file name of the strongly named module generated by this scope. - - - - Gets the weak-named module generated by this scope, or if none has yet been generated. - - The weak-named module generated by this scope, or if none has yet been generated. - - - - Gets the file name of the weakly named module generated by this scope. - - The file name of the weakly named module generated by this scope. - - - - Gets the specified module generated by this scope, creating a new one if none has yet been generated. - - If set to true, a strong-named module is returned; otherwise, a weak-named module is returned. - A strong-named or weak-named module generated by this scope, as specified by the parameter. - - - - Gets the strong-named module generated by this scope, creating a new one if none has yet been generated. - - A strong-named module generated by this scope. - - - - Gets the weak-named module generated by this scope, creating a new one if none has yet been generated. - - A weak-named module generated by this scope. - - - - allows customization of the behavior of proxies created by - an (or proxy types generated by an ). - - You should not modify an instance of once it has been - used to create a proxy (or proxy type). - - - - - - Initializes a new instance of the class. - - The hook. - - - - Initializes a new instance of the class. - - - - - Gets or sets the that should be used during proxy type - generation. Defaults to an instance of . - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the that should be used by created proxies - to determine which interceptors to use for an interception. If set to - (which is the default), created proxies will not use any selector. - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets or sets the class type from which generated interface proxy types will be derived. - Defaults to (). - - You should not modify this property once this instance - has been used to create a proxy. - - - - - - Gets the collection of additional custom attributes that will be put on generated proxy types. - This collection is initially empty. - - You should not modify this collection once this instance - has been used to create a proxy. - - - - - - Adds a delegate type to the list of mixins that will be added to generated proxies. - That is, generated proxies will have a `Invoke` method with a signature matching that - of the specified . - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate type whose `Invoke` method should be reproduced in generated proxies. - is . - is not a delegate type. - - - - Adds a delegate to be mixed into generated proxies. The - will act as the target for calls to a `Invoke` method with a signature matching that - of the delegate. - - You should not call this method once this instance - has been used to create a proxy. - - - The delegate that should act as the target for calls to `Invoke` methods with a matching signature. - is . - - - - Mixes the interfaces implemented by the specified object into - created proxies, and uses as the target for these mixed-in interfaces. - - You should not call this method once this instance - has been used to create a proxy. - - - The object that should act as the target for all of its implemented interfaces' methods. - is . - is an instance of . - - - - Provides proxy objects for classes and interfaces. - - - - - Initializes a new instance of the class. - - Proxy types builder. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - If true forces all types to be generated into an unsigned module. - - - - Gets or sets the that this log to. - - - - - Gets the proxy builder instance used to generate proxy types. - - The proxy builder. - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - Object proxying calls to members of on object. - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method generates new proxy type for each type of , which affects performance. If you don't want to proxy types differently depending on the type of the target - use method. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on object with given . - Interceptors can use interface to provide other target for method invocation than default . - - Type of the interface implemented by which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on object or alternative implementation swapped at runtime by an interceptor. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - Thrown when given does not implement interface. - Thrown when no default constructor exists on actual type of object. - Thrown when default constructor of actual type of throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of types on generated target object. - - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - As a result of that also at least one implementation must be provided. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of type on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of interfaces to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not an interface type. - - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to members of interface on target object generated at runtime with given . - - Type of the interface which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - Object proxying calls to members of and types on generated target object. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given array is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not an interface type. - - Since this method uses an empty-shell implementation of to proxy generated at runtime, the actual implementation of proxied methods must be provided by given implementations. - They are responsible for setting return value (and out parameters) on proxied methods. It is also illegal for an interceptor to call , since there's no actual implementation to proceed with. - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The target object, calls to which will be intercepted. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no parameterless constructor exists on type . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of type. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no default constructor exists on type . - Thrown when default constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates proxy object intercepting calls to virtual members of type on newly created instance of that type with given . - - Type of class which will be proxied. - Additional interface types. Calls to their members will be proxied as well. - The proxy generation options used to influence generated proxy type and object. - Arguments of constructor of type which should be used to create a new instance of that type. - The interceptors called during the invocation of proxied methods. - - New object of type proxying calls to virtual members of and types. - - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given object is a null reference (Nothing in Visual Basic). - Thrown when given or any of is a generic type definition. - Thrown when given is not a class type. - Thrown when no constructor exists on type with parameters matching . - Thrown when constructor of type throws an exception. - - This method uses implementation to generate a proxy type. - As such caller should expect any type of exception that given implementation may throw. - - - - - Creates the proxy type for class proxy with given class, implementing given and using provided . - - The base class for proxy type. - The interfaces that proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - Actual type that the proxy type will encompass. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy with target interface for given interface, implementing given on given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates the proxy type for interface proxy without target for given interface, implementing given and using provided . - - The interface proxy type should implement. - The additional interfaces proxy type should implement. - The options for proxy generation process. - of proxy. - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested type. - - - - - Creates a delegate of the specified type to a suitable `Invoke` method - on the given instance. - - The proxy instance to which the delegate should be bound. - The type of delegate that should be created. - - The does not have an `Invoke` method that is compatible with - the requested . - - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified method is accessible to DynamicProxy. - The method to check. - If the method is accessible to DynamicProxy, null; otherwise, an explanation of why the method is not accessible. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Checks whether the specified type is accessible to DynamicProxy. - The type to check. - true if the type is accessible to DynamicProxy, false otherwise. - - - - Determines whether this assembly has internals visible to DynamicProxy. - - The assembly to inspect. - - - - Checks whether the specified method is accessible to DynamicProxy. - Unlike with , the declaring type's accessibility is ignored. - - The method to check. - true if the method is accessible to DynamicProxy, false otherwise. - - - - Determines whether the specified method is internal. - - The method. - - true if the specified method is internal; otherwise, false. - - - - - Holds objects representing methods of class. - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/readme.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/readme.txt deleted file mode 100644 index 59e02923..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Castle.Core.5.1.1/readme.txt +++ /dev/null @@ -1,10 +0,0 @@ -Thanks for downloading this Castle package. -You can find full list of changes in CHANGELOG.md - -Documentation (work in progress, contributions appreciated): -DictionaryAdapter: https://github.com/castleproject/Core/blob/master/docs/dictionaryadapter.md -DynamicProxy: https://github.com/castleproject/Core/blob/master/docs/dynamicproxy.md -Discussion group: http://groups.google.com/group/castle-project-users -StackOverflow tags: castle-dynamicproxy, castle-dictionaryadapter, castle - -Issue tracker: https://github.com/castleproject/Core/issues \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/.signature.p7s deleted file mode 100644 index 7fdcff0c..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Icon.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Icon.png deleted file mode 100644 index fb00ecf9..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Icon.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/LICENSE.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/LICENSE.TXT deleted file mode 100644 index 984713a4..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/LICENSE.TXT +++ /dev/null @@ -1,23 +0,0 @@ -The MIT License (MIT) - -Copyright (c) .NET Foundation and Contributors - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Microsoft.Bcl.AsyncInterfaces.9.0.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Microsoft.Bcl.AsyncInterfaces.9.0.2.nupkg deleted file mode 100644 index 241711cd..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/Microsoft.Bcl.AsyncInterfaces.9.0.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/PACKAGE.md b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/PACKAGE.md deleted file mode 100644 index e0c6e8ae..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/PACKAGE.md +++ /dev/null @@ -1,64 +0,0 @@ -## About - -As of C# 8, the C# language has support for producing and consuming asynchronous iterators. The library types in support of those features are available in .NET Core 3.0 and newer as well as in .NET Standard 2.1. This library provides the necessary definitions of those types to support these language features on .NET Framework and on .NET Standard 2.0. This library is not necessary nor recommended when targeting versions of .NET that include the relevant support. - -## Key Features - - - -* Enables the use of C# async iterators on older .NET platforms - -## How to Use - - - -```C# -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -internal static class Program -{ - private static async Task Main() - { - Console.WriteLine("Starting..."); - await foreach (var value in GetValuesAsync()) - { - Console.WriteLine(value); - } - Console.WriteLine("Finished!"); - - static async IAsyncEnumerable GetValuesAsync() - { - for (int i = 0; i < 10; i++) - { - await Task.Delay(TimeSpan.FromSeconds(1)); - yield return i; - } - } - } -} -``` - -## Main Types - - - -The main types provided by this library are: - -* `IAsyncEnumerable` -* `IAsyncEnumerator` -* `IAsyncDisposable` - -## Additional Documentation - - - -* [C# Feature Specification](https://learn.microsoft.com/dotnet/csharp/language-reference/proposals/csharp-8.0/async-streams) -* [Walkthrough article](https://learn.microsoft.com/archive/msdn-magazine/2019/november/csharp-iterating-with-async-enumerables-in-csharp-8) - -## Feedback & Contributing - - - -Microsoft.Bcl.AsyncInterfaces is released as open source under the [MIT license](https://licenses.nuget.org/MIT). Bug reports and contributions are welcome at [the GitHub repository](https://github.com/dotnet/runtime). \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/THIRD-PARTY-NOTICES.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/THIRD-PARTY-NOTICES.TXT deleted file mode 100644 index 3dc0d7aa..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/THIRD-PARTY-NOTICES.TXT +++ /dev/null @@ -1,1396 +0,0 @@ -.NET Runtime uses third-party libraries or other resources that may be -distributed under licenses different than the .NET Runtime software. - -In the event that we accidentally failed to list a required notice, please -bring it to our attention. Post an issue or email us: - - dotnet@microsoft.com - -The attached notices are provided for information only. - -License notice for ASP.NET -------------------------------- - -Copyright (c) .NET Foundation. All rights reserved. -Licensed under the Apache License, Version 2.0. - -Available at -https://github.com/dotnet/aspnetcore/blob/main/LICENSE.txt - -License notice for Slicing-by-8 -------------------------------- - -http://sourceforge.net/projects/slicing-by-8/ - -Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - - -This software program is licensed subject to the BSD License, available at -http://www.opensource.org/licenses/bsd-license.html. - - -License notice for Unicode data -------------------------------- - -https://www.unicode.org/license.html - -Copyright © 1991-2022 Unicode, Inc. All rights reserved. -Distributed under the Terms of Use in https://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Unicode data files and any associated documentation -(the "Data Files") or Unicode software and any associated documentation -(the "Software") to deal in the Data Files or Software -without restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, and/or sell copies of -the Data Files or Software, and to permit persons to whom the Data Files -or Software are furnished to do so, provided that either -(a) this copyright and permission notice appear with all copies -of the Data Files or Software, or -(b) this copyright and permission notice appear in associated -Documentation. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT OF THIRD PARTY RIGHTS. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS -NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL -DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THE DATA FILES OR SOFTWARE. - -Except as contained in this notice, the name of a copyright holder -shall not be used in advertising or otherwise to promote the sale, -use or other dealings in these Data Files or Software without prior -written authorization of the copyright holder. - -License notice for zlib-ng ------------------------ - -https://github.com/zlib-ng/zlib-ng/blob/d54e3769be0c522015b784eca2af258b1c026107/LICENSE.md - -(C) 1995-2024 Jean-loup Gailly and Mark Adler - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any damages -arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute it -freely, subject to the following restrictions: - -1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - -2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - -3. This notice may not be removed or altered from any source distribution. - -License notice for LinuxTracepoints ------------------------------------ - -https://github.com/microsoft/LinuxTracepoints/blob/main/LICENSE - -Copyright (c) Microsoft Corporation. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE - -License notice for Mono -------------------------------- - -http://www.mono-project.com/docs/about-mono/ - -Copyright (c) .NET Foundation Contributors - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the Software), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for International Organization for Standardization ------------------------------------------------------------------ - -Portions (C) International Organization for Standardization 1986: - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - -License notice for Intel ------------------------- - -"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Xamarin and Novell -------------------------------------- - -Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Copyright (c) 2011 Novell, Inc (http://www.novell.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Third party notice for W3C --------------------------- - -"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE -Status: This license takes effect 13 May, 2015. -This work is being provided by the copyright holders under the following license. -License -By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. -Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: -The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. -Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. -Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." -Disclaimers -THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. -The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." - -License notice for Bit Twiddling Hacks --------------------------------------- - -Bit Twiddling Hacks - -By Sean Eron Anderson -seander@cs.stanford.edu - -Individually, the code snippets here are in the public domain (unless otherwise -noted) — feel free to use them however you please. The aggregate collection and -descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are -distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and -without even the implied warranty of merchantability or fitness for a particular -purpose. - -License notice for Brotli --------------------------------------- - -Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -compress_fragment.c: -Copyright (c) 2011, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -decode_fuzzer.c: -Copyright (c) 2015 The Chromium Authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - -License notice for Json.NET -------------------------------- - -https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md - -The MIT License (MIT) - -Copyright (c) 2007 James Newton-King - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for vectorized base64 encoding / decoding --------------------------------------------------------- - -Copyright (c) 2005-2007, Nick Galbreath -Copyright (c) 2013-2017, Alfred Klomp -Copyright (c) 2015-2017, Wojciech Mula -Copyright (c) 2016-2017, Matthieu Darbois -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -- Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for vectorized hex parsing --------------------------------------------------------- - -Copyright (c) 2022, Geoff Langdale -Copyright (c) 2022, Wojciech Mula -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -- Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for RFC 3492 ---------------------------- - -The punycode implementation is based on the sample code in RFC 3492 - -Copyright (C) The Internet Society (2003). All Rights Reserved. - -This document and translations of it may be copied and furnished to -others, and derivative works that comment on or otherwise explain it -or assist in its implementation may be prepared, copied, published -and distributed, in whole or in part, without restriction of any -kind, provided that the above copyright notice and this paragraph are -included on all such copies and derivative works. However, this -document itself may not be modified in any way, such as by removing -the copyright notice or references to the Internet Society or other -Internet organizations, except as needed for the purpose of -developing Internet standards in which case the procedures for -copyrights defined in the Internet Standards process must be -followed, or as required to translate it into languages other than -English. - -The limited permissions granted above are perpetual and will not be -revoked by the Internet Society or its successors or assigns. - -This document and the information contained herein is provided on an -"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING -TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING -BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION -HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -Copyright(C) The Internet Society 1997. All Rights Reserved. - -This document and translations of it may be copied and furnished to others, -and derivative works that comment on or otherwise explain it or assist in -its implementation may be prepared, copied, published and distributed, in -whole or in part, without restriction of any kind, provided that the above -copyright notice and this paragraph are included on all such copies and -derivative works.However, this document itself may not be modified in any -way, such as by removing the copyright notice or references to the Internet -Society or other Internet organizations, except as needed for the purpose of -developing Internet standards in which case the procedures for copyrights -defined in the Internet Standards process must be followed, or as required -to translate it into languages other than English. - -The limited permissions granted above are perpetual and will not be revoked -by the Internet Society or its successors or assigns. - -This document and the information contained herein is provided on an "AS IS" -basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE -DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO -ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY -RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A -PARTICULAR PURPOSE. - -License notice for Algorithm from RFC 4122 - -A Universally Unique IDentifier (UUID) URN Namespace ----------------------------------------------------- - -Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. -Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & -Digital Equipment Corporation, Maynard, Mass. -Copyright (c) 1998 Microsoft. -To anyone who acknowledges that this file is provided "AS IS" -without any express or implied warranty: permission to use, copy, -modify, and distribute this file for any purpose is hereby -granted without fee, provided that the above copyright notices and -this notice appears in all source code copies, and that none of -the names of Open Software Foundation, Inc., Hewlett-Packard -Company, Microsoft, or Digital Equipment Corporation be used in -advertising or publicity pertaining to distribution of the software -without specific, written prior permission. Neither Open Software -Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital -Equipment Corporation makes any representations about the -suitability of this software for any purpose." - -License notice for The LLVM Compiler Infrastructure ---------------------------------------------------- - -Developed by: - - LLVM Team - - University of Illinois at Urbana-Champaign - - http://llvm.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimers. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimers in the - documentation and/or other materials provided with the distribution. - - * Neither the names of the LLVM Team, University of Illinois at - Urbana-Champaign, nor the names of its contributors may be used to - endorse or promote products derived from this Software without specific - prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE -SOFTWARE. - -License notice for Bob Jenkins ------------------------------- - -By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this -code any way you wish, private, educational, or commercial. It's free. - -License notice for Greg Parker ------------------------------- - -Greg Parker gparker@cs.stanford.edu December 2000 -This code is in the public domain and may be copied or modified without -permission. - -License notice for libunwind based code ----------------------------------------- - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for Printing Floating-Point Numbers (Dragon4) ------------------------------------------------------------- - -/****************************************************************************** - Copyright (c) 2014 Ryan Juckett - http://www.ryanjuckett.com/ - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source - distribution. -******************************************************************************/ - -License notice for Printing Floating-point Numbers (Grisu3) ------------------------------------------------------------ - -Copyright 2012 the V8 project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for xxHash -------------------------- - -xxHash - Extremely Fast Hash algorithm -Header File -Copyright (C) 2012-2021 Yann Collet - -BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php) - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following disclaimer - in the documentation and/or other materials provided with the - distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -You can contact the author at: - - xxHash homepage: https://www.xxhash.com - - xxHash source repository: https://github.com/Cyan4973/xxHash - -License notice for Berkeley SoftFloat Release 3e ------------------------------------------------- - -https://github.com/ucb-bar/berkeley-softfloat-3 -https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt - -License for Berkeley SoftFloat Release 3e - -John R. Hauser -2018 January 20 - -The following applies to the whole of SoftFloat Release 3e as well as to -each source file individually. - -Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the -University of California. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of the University nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE -DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for xoshiro RNGs --------------------------------- - -Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org) - -To the extent possible under law, the author has dedicated all copyright -and related and neighboring rights to this software to the public domain -worldwide. This software is distributed without any warranty. - -See . - -License for fastmod (https://github.com/lemire/fastmod), ibm-fpgen (https://github.com/nigeltao/parse-number-fxx-test-data) and fastrange (https://github.com/lemire/fastrange) --------------------------------------- - - Copyright 2018 Daniel Lemire - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -License for sse4-strstr (https://github.com/WojciechMula/sse4-strstr) --------------------------------------- - - Copyright (c) 2008-2016, Wojciech Mula - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are - met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS - IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED - TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A - PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED - TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for The C++ REST SDK ------------------------------------ - -C++ REST SDK - -The MIT License (MIT) - -Copyright (c) Microsoft Corporation - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for MessagePack-CSharp -------------------------------------- - -MessagePack for C# - -MIT License - -Copyright (c) 2017 Yoshifumi Kawai - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for lz4net -------------------------------------- - -lz4net - -Copyright (c) 2013-2017, Milosz Krajewski - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Nerdbank.Streams ------------------------------------ - -The MIT License (MIT) - -Copyright (c) Andrew Arnott - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for RapidJSON ----------------------------- - -Tencent is pleased to support the open source community by making RapidJSON available. - -Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. - -Licensed under the MIT License (the "License"); you may not use this file except -in compliance with the License. You may obtain a copy of the License at - -http://opensource.org/licenses/MIT - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. - -License notice for DirectX Math Library ---------------------------------------- - -https://github.com/microsoft/DirectXMath/blob/master/LICENSE - - The MIT License (MIT) - -Copyright (c) 2011-2020 Microsoft Corp - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for ldap4net ---------------------------- - -The MIT License (MIT) - -Copyright (c) 2018 Alexander Chermyanin - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for vectorized sorting code ------------------------------------------- - -MIT License - -Copyright (c) 2020 Dan Shechter - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for musl ------------------------ - -musl as a whole is licensed under the following standard MIT license: - -Copyright © 2005-2020 Rich Felker, et al. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -License notice for "Faster Unsigned Division by Constants" ------------------------------- - -Reference implementations of computing and using the "magic number" approach to dividing -by constants, including codegen instructions. The unsigned division incorporates the -"round down" optimization per ridiculous_fish. - -This is free and unencumbered software. Any copyright is dedicated to the Public Domain. - - -License notice for mimalloc ------------------------------------ - -MIT License - -Copyright (c) 2019 Microsoft Corporation, Daan Leijen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License for remote stack unwind (https://github.com/llvm/llvm-project/blob/main/lldb/source/Symbol/CompactUnwindInfo.cpp) --------------------------------------- - -Copyright 2019 LLVM Project - -Licensed under the Apache License, Version 2.0 (the "License") with LLVM Exceptions; -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - -https://llvm.org/LICENSE.txt - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - -License notice for Apple header files -------------------------------------- - -Copyright (c) 1980, 1986, 1993 - The Regents of the University of California. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -3. All advertising materials mentioning features or use of this software - must display the following acknowledgement: - This product includes software developed by the University of - California, Berkeley and its contributors. -4. Neither the name of the University nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS -OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY -OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF -SUCH DAMAGE. - -License notice for JavaScript queues -------------------------------------- - -CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER. - -Statement of Purpose -The laws of most jurisdictions throughout the world automatically confer exclusive Copyright and Related Rights (defined below) upon the creator and subsequent owner(s) (each and all, an "owner") of an original work of authorship and/or a database (each, a "Work"). -Certain owners wish to permanently relinquish those rights to a Work for the purpose of contributing to a commons of creative, cultural and scientific works ("Commons") that the public can reliably and without fear of later claims of infringement build upon, modify, incorporate in other works, reuse and redistribute as freely as possible in any form whatsoever and for any purposes, including without limitation commercial purposes. These owners may contribute to the Commons to promote the ideal of a free culture and the further production of creative, cultural and scientific works, or to gain reputation or greater distribution for their Work in part through the use and efforts of others. -For these and/or other purposes and motivations, and without any expectation of additional consideration or compensation, the person associating CC0 with a Work (the "Affirmer"), to the extent that he or she is an owner of Copyright and Related Rights in the Work, voluntarily elects to apply CC0 to the Work and publicly distribute the Work under its terms, with knowledge of his or her Copyright and Related Rights in the Work and the meaning and intended legal effect of CC0 on those rights. - -1. Copyright and Related Rights. A Work made available under CC0 may be protected by copyright and related or neighboring rights ("Copyright and Related Rights"). Copyright and Related Rights include, but are not limited to, the following: -the right to reproduce, adapt, distribute, perform, display, communicate, and translate a Work; -moral rights retained by the original author(s) and/or performer(s); -publicity and privacy rights pertaining to a person's image or likeness depicted in a Work; -rights protecting against unfair competition in regards to a Work, subject to the limitations in paragraph 4(a), below; -rights protecting the extraction, dissemination, use and reuse of data in a Work; -database rights (such as those arising under Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, and under any national implementation thereof, including any amended or successor version of such directive); and -other similar, equivalent or corresponding rights throughout the world based on applicable law or treaty, and any national implementations thereof. -2. Waiver. To the greatest extent permitted by, but not in contravention of, applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and Related Rights and associated claims and causes of action, whether now known or unknown (including existing as well as future claims and causes of action), in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each member of the public at large and to the detriment of Affirmer's heirs and successors, fully intending that such Waiver shall not be subject to revocation, rescission, cancellation, termination, or any other legal or equitable action to disrupt the quiet enjoyment of the Work by the public as contemplated by Affirmer's express Statement of Purpose. -3. Public License Fallback. Should any part of the Waiver for any reason be judged legally invalid or ineffective under applicable law, then the Waiver shall be preserved to the maximum extent permitted taking into account Affirmer's express Statement of Purpose. In addition, to the extent the Waiver is so judged Affirmer hereby grants to each affected person a royalty-free, non transferable, non sublicensable, non exclusive, irrevocable and unconditional license to exercise Affirmer's Copyright and Related Rights in the Work (i) in all territories worldwide, (ii) for the maximum duration provided by applicable law or treaty (including future time extensions), (iii) in any current or future medium and for any number of copies, and (iv) for any purpose whatsoever, including without limitation commercial, advertising or promotional purposes (the "License"). The License shall be deemed effective as of the date CC0 was applied by Affirmer to the Work. Should any part of the License for any reason be judged legally invalid or ineffective under applicable law, such partial invalidity or ineffectiveness shall not invalidate the remainder of the License, and in such case Affirmer hereby affirms that he or she will not (i) exercise any of his or her remaining Copyright and Related Rights in the Work or (ii) assert any associated claims and causes of action with respect to the Work, in either case contrary to Affirmer's express Statement of Purpose. -4. Limitations and Disclaimers. -a. No trademark or patent rights held by Affirmer are waived, abandoned, surrendered, licensed or otherwise affected by this document. -b. Affirmer offers the Work as-is and makes no representations or warranties of any kind concerning the Work, express, implied, statutory or otherwise, including without limitation warranties of title, merchantability, fitness for a particular purpose, non infringement, or the absence of latent or other defects, accuracy, or the present or absence of errors, whether or not discoverable, all to the greatest extent permissible under applicable law. -c. Affirmer disclaims responsibility for clearing rights of other persons that may apply to the Work or any use thereof, including without limitation any person's Copyright and Related Rights in the Work. Further, Affirmer disclaims responsibility for obtaining any necessary consents, permissions or other rights required for any use of the Work. -d. Affirmer understands and acknowledges that Creative Commons is not a party to this document and has no duty or obligation with respect to this CC0 or use of the Work. - - -License notice for FastFloat algorithm -------------------------------------- -MIT License -Copyright (c) 2021 csFastFloat authors -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for MsQuic --------------------------------------- - -Copyright (c) Microsoft Corporation. -Licensed under the MIT License. - -Available at -https://github.com/microsoft/msquic/blob/main/LICENSE - -License notice for m-ou-se/floatconv -------------------------------- - -Copyright (c) 2020 Mara Bos -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for code from The Practice of Programming -------------------------------- - -Copyright (C) 1999 Lucent Technologies - -Excerpted from 'The Practice of Programming -by Brian W. Kernighan and Rob Pike - -You may use this code for any purpose, as long as you leave the copyright notice and book citation attached. - -Notice for Euclidean Affine Functions and Applications to Calendar -Algorithms -------------------------------- - -Aspects of Date/Time processing based on algorithm described in "Euclidean Affine Functions and Applications to Calendar -Algorithms", Cassio Neri and Lorenz Schneider. https://arxiv.org/pdf/2102.06959.pdf - -License notice for amd/aocl-libm-ose -------------------------------- - -Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. -3. Neither the name of the copyright holder nor the names of its contributors - may be used to endorse or promote products derived from this software without - specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, -OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -License notice for fmtlib/fmt -------------------------------- - -Formatting library for C++ - -Copyright (c) 2012 - present, Victor Zverovich - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License for Jb Evain ---------------------- - -Copyright (c) 2006 Jb Evain (jbevain@gmail.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ---- Optional exception to the license --- - -As an exception, if, as a result of your compiling your source code, portions -of this Software are embedded into a machine-executable object form of such -source code, you may redistribute such embedded portions in such object form -without including the above copyright and permission notices. - - -License for MurmurHash3 --------------------------------------- - -https://github.com/aappleby/smhasher/blob/master/src/MurmurHash3.cpp - -MurmurHash3 was written by Austin Appleby, and is placed in the public -domain. The author hereby disclaims copyright to this source - -License for Fast CRC Computation --------------------------------------- - -https://github.com/intel/isa-l/blob/33a2d9484595c2d6516c920ce39a694c144ddf69/crc/crc32_ieee_by4.asm -https://github.com/intel/isa-l/blob/33a2d9484595c2d6516c920ce39a694c144ddf69/crc/crc64_ecma_norm_by8.asm - -Copyright(c) 2011-2015 Intel Corporation All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of Intel Corporation nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License for C# Implementation of Fast CRC Computation ------------------------------------------------------ - -https://github.com/SixLabors/ImageSharp/blob/f4f689ce67ecbcc35cebddba5aacb603e6d1068a/src/ImageSharp/Formats/Png/Zlib/Crc32.cs - -Copyright (c) Six Labors. -Licensed under the Apache License, Version 2.0. - -Available at -https://github.com/SixLabors/ImageSharp/blob/f4f689ce67ecbcc35cebddba5aacb603e6d1068a/LICENSE - -License for the Teddy multi-substring searching implementation --------------------------------------- - -https://github.com/BurntSushi/aho-corasick - -The MIT License (MIT) - -Copyright (c) 2015 Andrew Gallant - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -License notice for Avx512Vbmi base64 encoding / decoding --------------------------------------------------------- - -Copyright (c) 2015-2018, Wojciech Muła -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - --------------------------------------------------------- - -Aspects of base64 encoding / decoding are based on algorithm described in "Base64 encoding and decoding at almost the speed of a memory -copy", Wojciech Muła and Daniel Lemire. https://arxiv.org/pdf/1910.05109.pdf - -License for FormatJS Intl.Segmenter grapheme segmentation algorithm --------------------------------------------------------------------------- -Available at https://github.com/formatjs/formatjs/blob/58d6a7b398d776ca3d2726d72ae1573b65cc3bef/packages/intl-segmenter/LICENSE.md - -MIT License - -Copyright (c) 2022 FormatJS - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License for SharpFuzz and related samples --------------------------------------- - -https://github.com/Metalnem/sharpfuzz -https://github.com/Metalnem/dotnet-fuzzers -https://github.com/Metalnem/libfuzzer-dotnet - -MIT License - -Copyright (c) 2018 Nemanja Mijailovic - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net461/Microsoft.Bcl.AsyncInterfaces.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net461/Microsoft.Bcl.AsyncInterfaces.targets deleted file mode 100644 index 3aa8ac2b..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net461/Microsoft.Bcl.AsyncInterfaces.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net462/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net462/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net8.0/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/net8.0/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/netcoreapp2.0/Microsoft.Bcl.AsyncInterfaces.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/netcoreapp2.0/Microsoft.Bcl.AsyncInterfaces.targets deleted file mode 100644 index ed61ff31..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/buildTransitive/netcoreapp2.0/Microsoft.Bcl.AsyncInterfaces.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.dll deleted file mode 100644 index cf06e021..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.xml deleted file mode 100644 index 97fe9be5..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/net462/Microsoft.Bcl.AsyncInterfaces.xml +++ /dev/null @@ -1,417 +0,0 @@ - - - - Microsoft.Bcl.AsyncInterfaces - - - - Provides the core logic for implementing a manual-reset or . - - - - - The callback to invoke when the operation completes if was called before the operation completed, - or if the operation completed before a callback was supplied, - or null if a callback hasn't yet been provided and the operation hasn't yet completed. - - - - State to pass to . - - - to flow to the callback, or null if no flowing is required. - - - - A "captured" or with which to invoke the callback, - or null if no special context is required. - - - - Whether the current operation has completed. - - - The result with which the operation succeeded, or the default value if it hasn't yet completed or failed. - - - The exception with which the operation failed, or null if it hasn't yet completed or completed successfully. - - - The current version of this value, used to help prevent misuse. - - - Gets or sets whether to force continuations to run asynchronously. - Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true. - - - Resets to prepare for the next operation. - - - Completes with a successful result. - The result. - - - Complets with an error. - - - - Gets the operation version. - - - Gets the status of the operation. - Opaque value that was provided to the 's constructor. - - - Gets the result of the operation. - Opaque value that was provided to the 's constructor. - - - Schedules the continuation action for this operation. - The continuation to invoke when the operation has completed. - The state object to pass to when it's invoked. - Opaque value that was provided to the 's constructor. - The flags describing the behavior of the continuation. - - - Ensures that the specified token matches the current version. - The token supplied by . - - - Signals that the operation has completed. Invoked after the result or error has been set. - - - - Invokes the continuation with the appropriate captured context / scheduler. - This assumes that if is not null we're already - running within that . - - - - Provides a set of static methods for configuring -related behaviors on asynchronous enumerables and disposables. - - - Configures how awaits on the tasks returned from an async disposable will be performed. - The source async disposable. - Whether to capture and marshal back to the current context. - The configured async disposable. - - - Configures how awaits on the tasks returned from an async iteration will be performed. - The type of the objects being iterated. - The source enumerable being iterated. - Whether to capture and marshal back to the current context. - The configured enumerable. - - - Sets the to be passed to when iterating. - The type of the objects being iterated. - The source enumerable being iterated. - The to use. - The configured enumerable. - - - Represents a builder for asynchronous iterators. - - - Creates an instance of the struct. - The initialized instance. - - - Invokes on the state machine while guarding the . - The type of the state machine. - The state machine instance, passed by reference. - - - Schedules the state machine to proceed to the next action when the specified awaiter completes. - The type of the awaiter. - The type of the state machine. - The awaiter. - The state machine. - - - Schedules the state machine to proceed to the next action when the specified awaiter completes. - The type of the awaiter. - The type of the state machine. - The awaiter. - The state machine. - - - Marks iteration as being completed, whether successfully or otherwise. - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - Indicates whether a method is an asynchronous iterator. - - - Initializes a new instance of the class. - The type object for the underlying state machine type that's used to implement a state machine method. - - - Provides a type that can be used to configure how awaits on an are performed. - - - Asynchronously releases the unmanaged resources used by the . - A task that represents the asynchronous dispose operation. - - - Provides an awaitable async enumerable that enables cancelable iteration and configured awaits. - - - Configures how awaits on the tasks returned from an async iteration will be performed. - Whether to capture and marshal back to the current context. - The configured enumerable. - This will replace any previous value set by for this iteration. - - - Sets the to be passed to when iterating. - The to use. - The configured enumerable. - This will replace any previous set by for this iteration. - - - Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits. - An enumerator for the class. - - - Provides an awaitable async enumerator that enables cancelable iteration and configured awaits. - - - Advances the enumerator asynchronously to the next element of the collection. - - A that will complete with a result of true - if the enumerator was successfully advanced to the next element, or false if the enumerator has - passed the end of the collection. - - - - Gets the element in the collection at the current position of the enumerator. - - - - Performs application-defined tasks associated with freeing, releasing, or - resetting unmanaged resources asynchronously. - - - - Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from . - - - Initializes a new instance of the class. - - - - Attribute used to indicate a source generator should create a function for marshalling - arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. - - - This attribute is meaningless if the source generator associated with it is not enabled. - The current built-in source generator only supports C# and only supplies an implementation when - applied to static, partial, non-generic methods. - - - - - Initializes a new instance of the . - - Name of the library containing the import. - - - - Gets the name of the library containing the import. - - - - - Gets or sets the name of the entry point to be called. - - - - - Gets or sets how to marshal string arguments to the method. - - - If this field is set to a value other than , - must not be specified. - - - - - Gets or sets the used to control how string arguments to the method are marshalled. - - - If this field is specified, must not be specified - or must be set to . - - - - - Gets or sets whether the callee sets an error (SetLastError on Windows or errno - on other platforms) before returning from the attributed method. - - - - - Specifies how strings should be marshalled for generated p/invokes - - - - - Indicates the user is supplying a specific marshaller in . - - - - - Use the platform-provided UTF-8 marshaller. - - - - - Use the platform-provided UTF-16 marshaller. - - - - Exposes an enumerator that provides asynchronous iteration over values of a specified type. - The type of values to enumerate. - - - Returns an enumerator that iterates asynchronously through the collection. - A that may be used to cancel the asynchronous iteration. - An enumerator that can be used to iterate asynchronously through the collection. - - - Supports a simple asynchronous iteration over a generic collection. - The type of objects to enumerate. - - - Advances the enumerator asynchronously to the next element of the collection. - - A that will complete with a result of true if the enumerator - was successfully advanced to the next element, or false if the enumerator has passed the end - of the collection. - - - - Gets the element in the collection at the current position of the enumerator. - - - Provides a mechanism for releasing unmanaged resources asynchronously. - - - - Performs application-defined tasks associated with freeing, releasing, or - resetting unmanaged resources asynchronously. - - - - Specifies that null is allowed as an input even if the corresponding type disallows it. - - - Specifies that null is disallowed as an input even if the corresponding type allows it. - - - Specifies that an output may be null even if the corresponding type disallows it. - - - Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. - - - Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter may be null. - - - - Gets the return value condition. - - - Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter will not be null. - - - - Gets the return value condition. - - - Specifies that the output will be non-null if the named parameter is non-null. - - - Initializes the attribute with the associated parameter name. - - The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. - - - - Gets the associated parameter name. - - - Applied to a method that will never return under any circumstance. - - - Specifies that the method will not return if the associated Boolean parameter is passed the specified value. - - - Initializes the attribute with the specified parameter value. - - The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to - the associated parameter matches this value. - - - - Gets the condition parameter value. - - - Specifies that the method or property will ensure that the listed field and property members have not-null values. - - - Initializes the attribute with a field or property member. - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the list of field and property members. - - The list of field and property members that are promised to be not-null. - - - - Gets field or property member names. - - - Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. - - - Initializes the attribute with the specified return value condition and a field or property member. - - The return value condition. If the method returns this value, the associated field or property member will not be null. - - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the specified return value condition and list of field and property members. - - The return value condition. If the method returns this value, the associated field and property members will not be null. - - - The list of field and property members that are promised to be not-null. - - - - Gets the return value condition. - - - Gets field or property member names. - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll deleted file mode 100644 index e6751284..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml deleted file mode 100644 index 97fe9be5..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.0/Microsoft.Bcl.AsyncInterfaces.xml +++ /dev/null @@ -1,417 +0,0 @@ - - - - Microsoft.Bcl.AsyncInterfaces - - - - Provides the core logic for implementing a manual-reset or . - - - - - The callback to invoke when the operation completes if was called before the operation completed, - or if the operation completed before a callback was supplied, - or null if a callback hasn't yet been provided and the operation hasn't yet completed. - - - - State to pass to . - - - to flow to the callback, or null if no flowing is required. - - - - A "captured" or with which to invoke the callback, - or null if no special context is required. - - - - Whether the current operation has completed. - - - The result with which the operation succeeded, or the default value if it hasn't yet completed or failed. - - - The exception with which the operation failed, or null if it hasn't yet completed or completed successfully. - - - The current version of this value, used to help prevent misuse. - - - Gets or sets whether to force continuations to run asynchronously. - Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true. - - - Resets to prepare for the next operation. - - - Completes with a successful result. - The result. - - - Complets with an error. - - - - Gets the operation version. - - - Gets the status of the operation. - Opaque value that was provided to the 's constructor. - - - Gets the result of the operation. - Opaque value that was provided to the 's constructor. - - - Schedules the continuation action for this operation. - The continuation to invoke when the operation has completed. - The state object to pass to when it's invoked. - Opaque value that was provided to the 's constructor. - The flags describing the behavior of the continuation. - - - Ensures that the specified token matches the current version. - The token supplied by . - - - Signals that the operation has completed. Invoked after the result or error has been set. - - - - Invokes the continuation with the appropriate captured context / scheduler. - This assumes that if is not null we're already - running within that . - - - - Provides a set of static methods for configuring -related behaviors on asynchronous enumerables and disposables. - - - Configures how awaits on the tasks returned from an async disposable will be performed. - The source async disposable. - Whether to capture and marshal back to the current context. - The configured async disposable. - - - Configures how awaits on the tasks returned from an async iteration will be performed. - The type of the objects being iterated. - The source enumerable being iterated. - Whether to capture and marshal back to the current context. - The configured enumerable. - - - Sets the to be passed to when iterating. - The type of the objects being iterated. - The source enumerable being iterated. - The to use. - The configured enumerable. - - - Represents a builder for asynchronous iterators. - - - Creates an instance of the struct. - The initialized instance. - - - Invokes on the state machine while guarding the . - The type of the state machine. - The state machine instance, passed by reference. - - - Schedules the state machine to proceed to the next action when the specified awaiter completes. - The type of the awaiter. - The type of the state machine. - The awaiter. - The state machine. - - - Schedules the state machine to proceed to the next action when the specified awaiter completes. - The type of the awaiter. - The type of the state machine. - The awaiter. - The state machine. - - - Marks iteration as being completed, whether successfully or otherwise. - - - Gets an object that may be used to uniquely identify this builder to the debugger. - - - Indicates whether a method is an asynchronous iterator. - - - Initializes a new instance of the class. - The type object for the underlying state machine type that's used to implement a state machine method. - - - Provides a type that can be used to configure how awaits on an are performed. - - - Asynchronously releases the unmanaged resources used by the . - A task that represents the asynchronous dispose operation. - - - Provides an awaitable async enumerable that enables cancelable iteration and configured awaits. - - - Configures how awaits on the tasks returned from an async iteration will be performed. - Whether to capture and marshal back to the current context. - The configured enumerable. - This will replace any previous value set by for this iteration. - - - Sets the to be passed to when iterating. - The to use. - The configured enumerable. - This will replace any previous set by for this iteration. - - - Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits. - An enumerator for the class. - - - Provides an awaitable async enumerator that enables cancelable iteration and configured awaits. - - - Advances the enumerator asynchronously to the next element of the collection. - - A that will complete with a result of true - if the enumerator was successfully advanced to the next element, or false if the enumerator has - passed the end of the collection. - - - - Gets the element in the collection at the current position of the enumerator. - - - - Performs application-defined tasks associated with freeing, releasing, or - resetting unmanaged resources asynchronously. - - - - Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from . - - - Initializes a new instance of the class. - - - - Attribute used to indicate a source generator should create a function for marshalling - arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. - - - This attribute is meaningless if the source generator associated with it is not enabled. - The current built-in source generator only supports C# and only supplies an implementation when - applied to static, partial, non-generic methods. - - - - - Initializes a new instance of the . - - Name of the library containing the import. - - - - Gets the name of the library containing the import. - - - - - Gets or sets the name of the entry point to be called. - - - - - Gets or sets how to marshal string arguments to the method. - - - If this field is set to a value other than , - must not be specified. - - - - - Gets or sets the used to control how string arguments to the method are marshalled. - - - If this field is specified, must not be specified - or must be set to . - - - - - Gets or sets whether the callee sets an error (SetLastError on Windows or errno - on other platforms) before returning from the attributed method. - - - - - Specifies how strings should be marshalled for generated p/invokes - - - - - Indicates the user is supplying a specific marshaller in . - - - - - Use the platform-provided UTF-8 marshaller. - - - - - Use the platform-provided UTF-16 marshaller. - - - - Exposes an enumerator that provides asynchronous iteration over values of a specified type. - The type of values to enumerate. - - - Returns an enumerator that iterates asynchronously through the collection. - A that may be used to cancel the asynchronous iteration. - An enumerator that can be used to iterate asynchronously through the collection. - - - Supports a simple asynchronous iteration over a generic collection. - The type of objects to enumerate. - - - Advances the enumerator asynchronously to the next element of the collection. - - A that will complete with a result of true if the enumerator - was successfully advanced to the next element, or false if the enumerator has passed the end - of the collection. - - - - Gets the element in the collection at the current position of the enumerator. - - - Provides a mechanism for releasing unmanaged resources asynchronously. - - - - Performs application-defined tasks associated with freeing, releasing, or - resetting unmanaged resources asynchronously. - - - - Specifies that null is allowed as an input even if the corresponding type disallows it. - - - Specifies that null is disallowed as an input even if the corresponding type allows it. - - - Specifies that an output may be null even if the corresponding type disallows it. - - - Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns. - - - Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter may be null. - - - - Gets the return value condition. - - - Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter will not be null. - - - - Gets the return value condition. - - - Specifies that the output will be non-null if the named parameter is non-null. - - - Initializes the attribute with the associated parameter name. - - The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. - - - - Gets the associated parameter name. - - - Applied to a method that will never return under any circumstance. - - - Specifies that the method will not return if the associated Boolean parameter is passed the specified value. - - - Initializes the attribute with the specified parameter value. - - The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to - the associated parameter matches this value. - - - - Gets the condition parameter value. - - - Specifies that the method or property will ensure that the listed field and property members have not-null values. - - - Initializes the attribute with a field or property member. - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the list of field and property members. - - The list of field and property members that are promised to be not-null. - - - - Gets field or property member names. - - - Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. - - - Initializes the attribute with the specified return value condition and a field or property member. - - The return value condition. If the method returns this value, the associated field or property member will not be null. - - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the specified return value condition and list of field and property members. - - The return value condition. If the method returns this value, the associated field and property members will not be null. - - - The list of field and property members that are promised to be not-null. - - - - Gets the return value condition. - - - Gets field or property member names. - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll deleted file mode 100644 index cbad6d75..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml deleted file mode 100644 index e5916a6d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - Microsoft.Bcl.AsyncInterfaces - - - - - Attribute used to indicate a source generator should create a function for marshalling - arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time. - - - This attribute is meaningless if the source generator associated with it is not enabled. - The current built-in source generator only supports C# and only supplies an implementation when - applied to static, partial, non-generic methods. - - - - - Initializes a new instance of the . - - Name of the library containing the import. - - - - Gets the name of the library containing the import. - - - - - Gets or sets the name of the entry point to be called. - - - - - Gets or sets how to marshal string arguments to the method. - - - If this field is set to a value other than , - must not be specified. - - - - - Gets or sets the used to control how string arguments to the method are marshalled. - - - If this field is specified, must not be specified - or must be set to . - - - - - Gets or sets whether the callee sets an error (SetLastError on Windows or errno - on other platforms) before returning from the attributed method. - - - - - Specifies how strings should be marshalled for generated p/invokes - - - - - Indicates the user is supplying a specific marshaller in . - - - - - Use the platform-provided UTF-8 marshaller. - - - - - Use the platform-provided UTF-16 marshaller. - - - - Specifies that the method or property will ensure that the listed field and property members have not-null values. - - - Initializes the attribute with a field or property member. - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the list of field and property members. - - The list of field and property members that are promised to be not-null. - - - - Gets field or property member names. - - - Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition. - - - Initializes the attribute with the specified return value condition and a field or property member. - - The return value condition. If the method returns this value, the associated field or property member will not be null. - - - The field or property member that is promised to be not-null. - - - - Initializes the attribute with the specified return value condition and list of field and property members. - - The return value condition. If the method returns this value, the associated field and property members will not be null. - - - The list of field and property members that are promised to be not-null. - - - - Gets the return value condition. - - - Gets field or property member names. - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/useSharedDesignerContext.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/Microsoft.Bcl.AsyncInterfaces.9.0.2/useSharedDesignerContext.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/.signature.p7s deleted file mode 100644 index 9d160bd1..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/Moq.4.20.72.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/Moq.4.20.72.nupkg deleted file mode 100644 index 74177453..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/Moq.4.20.72.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/icon.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/icon.png deleted file mode 100644 index 41cf4062..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/icon.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net462/Moq.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net462/Moq.dll deleted file mode 100644 index 870c1b7b..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net462/Moq.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net6.0/Moq.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net6.0/Moq.dll deleted file mode 100644 index 7b874955..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/net6.0/Moq.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.0/Moq.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.0/Moq.dll deleted file mode 100644 index 9fe00686..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.0/Moq.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.1/Moq.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.1/Moq.dll deleted file mode 100644 index 7949535d..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/lib/netstandard2.1/Moq.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/readme.md b/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/readme.md deleted file mode 100644 index 5b3ced55..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/Moq.4.20.72/readme.md +++ /dev/null @@ -1,102 +0,0 @@ - - -The most popular and friendly mocking library for .NET - -```csharp - var mock = new Mock(); - - // WOW! No record/replay weirdness?! :) - mock.Setup(library => library.DownloadExists("2.0.0.0")) - .Returns(true); - - // Use the Object property on the mock to get a reference to the object - // implementing ILoveThisLibrary, and then exercise it by calling - // methods on it - ILoveThisLibrary lovable = mock.Object; - bool download = lovable.DownloadExists("2.0.0.0"); - - // Verify that the given method was indeed called with the expected value at most once - mock.Verify(library => library.DownloadExists("2.0.0.0"), Times.AtMostOnce()); -``` - -Moq also is the first and only library so far to provide Linq to Mocks, so that the -same behavior above can be achieved much more succinctly: - -```csharp - ILoveThisLibrary lovable = Mock.Of(l => - l.DownloadExists("2.0.0.0") == true); - - // Exercise the instance returned by Mock.Of by calling methods on it... - bool download = lovable.DownloadExists("2.0.0.0"); - - // Simply assert the returned state: - Assert.True(download); - - // If you want to go beyond state testing and want to - // verify the mock interaction instead... - Mock.Get(lovable).Verify(library => library.DownloadExists("2.0.0.0")); -``` - -You can think of Linq to Mocks as "from the universe of mocks, give me one whose behavior -matches this expression". - -Check out the [Quickstart](https://github.com/devlooped/moq/wiki/Quickstart) for more examples! - - - - - - -# Sponsors - - -[![Clarius Org](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/clarius.png "Clarius Org")](https://github.com/clarius) -[![Kirill Osenkov](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KirillOsenkov.png "Kirill Osenkov")](https://github.com/KirillOsenkov) -[![MFB Technologies, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/MFB-Technologies-Inc.png "MFB Technologies, Inc.")](https://github.com/MFB-Technologies-Inc) -[![Stephen Shaw](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/decriptor.png "Stephen Shaw")](https://github.com/decriptor) -[![Torutek](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/torutek-gh.png "Torutek")](https://github.com/torutek-gh) -[![DRIVE.NET, Inc.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/drivenet.png "DRIVE.NET, Inc.")](https://github.com/drivenet) -[![Ashley Medway](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/AshleyMedway.png "Ashley Medway")](https://github.com/AshleyMedway) -[![Keith Pickford](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Keflon.png "Keith Pickford")](https://github.com/Keflon) -[![Thomas Bolon](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tbolon.png "Thomas Bolon")](https://github.com/tbolon) -[![Kori Francis](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/kfrancis.png "Kori Francis")](https://github.com/kfrancis) -[![Toni Wenzel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/twenzel.png "Toni Wenzel")](https://github.com/twenzel) -[![Giorgi Dalakishvili](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Giorgi.png "Giorgi Dalakishvili")](https://github.com/Giorgi) -[![Uno Platform](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/unoplatform.png "Uno Platform")](https://github.com/unoplatform) -[![Dan Siegel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/dansiegel.png "Dan Siegel")](https://github.com/dansiegel) -[![Reuben Swartz](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/rbnswartz.png "Reuben Swartz")](https://github.com/rbnswartz) -[![Jacob Foshee](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jfoshee.png "Jacob Foshee")](https://github.com/jfoshee) -[![](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Mrxx99.png "")](https://github.com/Mrxx99) -[![Eric Johnson](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/eajhnsn1.png "Eric Johnson")](https://github.com/eajhnsn1) -[![Ix Technologies B.V.](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/IxTechnologies.png "Ix Technologies B.V.")](https://github.com/IxTechnologies) -[![David JENNI](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/davidjenni.png "David JENNI")](https://github.com/davidjenni) -[![Jonathan ](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/Jonathan-Hickey.png "Jonathan ")](https://github.com/Jonathan-Hickey) -[![Oleg Kyrylchuk](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/okyrylchuk.png "Oleg Kyrylchuk")](https://github.com/okyrylchuk) -[![Charley Wu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/akunzai.png "Charley Wu")](https://github.com/akunzai) -[![Jakob Tikjøb Andersen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/jakobt.png "Jakob Tikjøb Andersen")](https://github.com/jakobt) -[![Seann Alexander](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/seanalexander.png "Seann Alexander")](https://github.com/seanalexander) -[![Tino Hager](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/tinohager.png "Tino Hager")](https://github.com/tinohager) -[![Mark Seemann](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ploeh.png "Mark Seemann")](https://github.com/ploeh) -[![Ken Bonny](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/KenBonny.png "Ken Bonny")](https://github.com/KenBonny) -[![Simon Cropp](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/SimonCropp.png "Simon Cropp")](https://github.com/SimonCropp) -[![agileworks-eu](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/agileworks-eu.png "agileworks-eu")](https://github.com/agileworks-eu) -[![sorahex](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/sorahex.png "sorahex")](https://github.com/sorahex) -[![Zheyu Shen](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/arsdragonfly.png "Zheyu Shen")](https://github.com/arsdragonfly) -[![Vezel](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/vezel-dev.png "Vezel")](https://github.com/vezel-dev) -[![ChilliCream](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/ChilliCream.png "ChilliCream")](https://github.com/ChilliCream) -[![4OTC](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/4OTC.png "4OTC")](https://github.com/4OTC) -[![Vincent Limo](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/v-limo.png "Vincent Limo")](https://github.com/v-limo) -[![Brooke Hamilton](https://raw.githubusercontent.com/devlooped/sponsors/main/.github/avatars/brooke-hamilton.png "Brooke Hamilton")](https://github.com/brooke-hamilton) - - - - -[![Sponsor this project](https://raw.githubusercontent.com/devlooped/sponsors/main/sponsor.png "Sponsor this project")](https://github.com/sponsors/devlooped) -  - -[Learn more about GitHub Sponsors](https://github.com/sponsors) - - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/.signature.p7s deleted file mode 100644 index 2a015f96..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/Icon.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/Icon.png deleted file mode 100644 index a0f1fdbf..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/Icon.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/LICENSE.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/LICENSE.TXT deleted file mode 100644 index 984713a4..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/LICENSE.TXT +++ /dev/null @@ -1,23 +0,0 @@ -The MIT License (MIT) - -Copyright (c) .NET Foundation and Contributors - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/System.Runtime.CompilerServices.Unsafe.6.0.0.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/System.Runtime.CompilerServices.Unsafe.6.0.0.nupkg deleted file mode 100644 index 3052c31e..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/System.Runtime.CompilerServices.Unsafe.6.0.0.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/THIRD-PARTY-NOTICES.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/THIRD-PARTY-NOTICES.TXT deleted file mode 100644 index 89c59b21..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/THIRD-PARTY-NOTICES.TXT +++ /dev/null @@ -1,939 +0,0 @@ -.NET Runtime uses third-party libraries or other resources that may be -distributed under licenses different than the .NET Runtime software. - -In the event that we accidentally failed to list a required notice, please -bring it to our attention. Post an issue or email us: - - dotnet@microsoft.com - -The attached notices are provided for information only. - -License notice for ASP.NET -------------------------------- - -Copyright (c) .NET Foundation. All rights reserved. -Licensed under the Apache License, Version 2.0. - -Available at -https://github.com/dotnet/aspnetcore/blob/main/LICENSE.txt - -License notice for Slicing-by-8 -------------------------------- - -http://sourceforge.net/projects/slicing-by-8/ - -Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - - -This software program is licensed subject to the BSD License, available at -http://www.opensource.org/licenses/bsd-license.html. - - -License notice for Unicode data -------------------------------- - -https://www.unicode.org/license.html - -Copyright © 1991-2020 Unicode, Inc. All rights reserved. -Distributed under the Terms of Use in https://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Unicode data files and any associated documentation -(the "Data Files") or Unicode software and any associated documentation -(the "Software") to deal in the Data Files or Software -without restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, and/or sell copies of -the Data Files or Software, and to permit persons to whom the Data Files -or Software are furnished to do so, provided that either -(a) this copyright and permission notice appear with all copies -of the Data Files or Software, or -(b) this copyright and permission notice appear in associated -Documentation. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT OF THIRD PARTY RIGHTS. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS -NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL -DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THE DATA FILES OR SOFTWARE. - -Except as contained in this notice, the name of a copyright holder -shall not be used in advertising or otherwise to promote the sale, -use or other dealings in these Data Files or Software without prior -written authorization of the copyright holder. - -License notice for Zlib ------------------------ - -https://github.com/madler/zlib -http://zlib.net/zlib_license.html - -/* zlib.h -- interface of the 'zlib' general purpose compression library - version 1.2.11, January 15th, 2017 - - Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - -*/ - -License notice for Mono -------------------------------- - -http://www.mono-project.com/docs/about-mono/ - -Copyright (c) .NET Foundation Contributors - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the Software), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for International Organization for Standardization ------------------------------------------------------------------ - -Portions (C) International Organization for Standardization 1986: - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - -License notice for Intel ------------------------- - -"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Xamarin and Novell -------------------------------------- - -Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Copyright (c) 2011 Novell, Inc (http://www.novell.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Third party notice for W3C --------------------------- - -"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE -Status: This license takes effect 13 May, 2015. -This work is being provided by the copyright holders under the following license. -License -By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. -Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: -The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. -Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. -Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." -Disclaimers -THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. -The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." - -License notice for Bit Twiddling Hacks --------------------------------------- - -Bit Twiddling Hacks - -By Sean Eron Anderson -seander@cs.stanford.edu - -Individually, the code snippets here are in the public domain (unless otherwise -noted) — feel free to use them however you please. The aggregate collection and -descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are -distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and -without even the implied warranty of merchantability or fitness for a particular -purpose. - -License notice for Brotli --------------------------------------- - -Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -compress_fragment.c: -Copyright (c) 2011, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -decode_fuzzer.c: -Copyright (c) 2015 The Chromium Authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - -License notice for Json.NET -------------------------------- - -https://github.com/JamesNK/Newtonsoft.Json/blob/master/LICENSE.md - -The MIT License (MIT) - -Copyright (c) 2007 James Newton-King - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for vectorized base64 encoding / decoding --------------------------------------------------------- - -Copyright (c) 2005-2007, Nick Galbreath -Copyright (c) 2013-2017, Alfred Klomp -Copyright (c) 2015-2017, Wojciech Mula -Copyright (c) 2016-2017, Matthieu Darbois -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -- Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for RFC 3492 ---------------------------- - -The punycode implementation is based on the sample code in RFC 3492 - -Copyright (C) The Internet Society (2003). All Rights Reserved. - -This document and translations of it may be copied and furnished to -others, and derivative works that comment on or otherwise explain it -or assist in its implementation may be prepared, copied, published -and distributed, in whole or in part, without restriction of any -kind, provided that the above copyright notice and this paragraph are -included on all such copies and derivative works. However, this -document itself may not be modified in any way, such as by removing -the copyright notice or references to the Internet Society or other -Internet organizations, except as needed for the purpose of -developing Internet standards in which case the procedures for -copyrights defined in the Internet Standards process must be -followed, or as required to translate it into languages other than -English. - -The limited permissions granted above are perpetual and will not be -revoked by the Internet Society or its successors or assigns. - -This document and the information contained herein is provided on an -"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING -TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING -BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION -HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF -MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. - -License notice for Algorithm from Internet Draft document "UUIDs and GUIDs" ---------------------------------------------------------------------------- - -Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. -Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & -Digital Equipment Corporation, Maynard, Mass. -To anyone who acknowledges that this file is provided "AS IS" -without any express or implied warranty: permission to use, copy, -modify, and distribute this file for any purpose is hereby -granted without fee, provided that the above copyright notices and -this notice appears in all source code copies, and that none of -the names of Open Software Foundation, Inc., Hewlett-Packard -Company, or Digital Equipment Corporation be used in advertising -or publicity pertaining to distribution of the software without -specific, written prior permission. Neither Open Software -Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital Equipment -Corporation makes any representations about the suitability of -this software for any purpose. - -Copyright(C) The Internet Society 1997. All Rights Reserved. - -This document and translations of it may be copied and furnished to others, -and derivative works that comment on or otherwise explain it or assist in -its implementation may be prepared, copied, published and distributed, in -whole or in part, without restriction of any kind, provided that the above -copyright notice and this paragraph are included on all such copies and -derivative works.However, this document itself may not be modified in any -way, such as by removing the copyright notice or references to the Internet -Society or other Internet organizations, except as needed for the purpose of -developing Internet standards in which case the procedures for copyrights -defined in the Internet Standards process must be followed, or as required -to translate it into languages other than English. - -The limited permissions granted above are perpetual and will not be revoked -by the Internet Society or its successors or assigns. - -This document and the information contained herein is provided on an "AS IS" -basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE -DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO -ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY -RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A -PARTICULAR PURPOSE. - -License notice for Algorithm from RFC 4122 - -A Universally Unique IDentifier (UUID) URN Namespace ----------------------------------------------------- - -Copyright (c) 1990- 1993, 1996 Open Software Foundation, Inc. -Copyright (c) 1989 by Hewlett-Packard Company, Palo Alto, Ca. & -Digital Equipment Corporation, Maynard, Mass. -Copyright (c) 1998 Microsoft. -To anyone who acknowledges that this file is provided "AS IS" -without any express or implied warranty: permission to use, copy, -modify, and distribute this file for any purpose is hereby -granted without fee, provided that the above copyright notices and -this notice appears in all source code copies, and that none of -the names of Open Software Foundation, Inc., Hewlett-Packard -Company, Microsoft, or Digital Equipment Corporation be used in -advertising or publicity pertaining to distribution of the software -without specific, written prior permission. Neither Open Software -Foundation, Inc., Hewlett-Packard Company, Microsoft, nor Digital -Equipment Corporation makes any representations about the -suitability of this software for any purpose." - -License notice for The LLVM Compiler Infrastructure ---------------------------------------------------- - -Developed by: - - LLVM Team - - University of Illinois at Urbana-Champaign - - http://llvm.org - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal with -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimers. - - * Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimers in the - documentation and/or other materials provided with the distribution. - - * Neither the names of the LLVM Team, University of Illinois at - Urbana-Champaign, nor the names of its contributors may be used to - endorse or promote products derived from this Software without specific - prior written permission. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE -SOFTWARE. - -License notice for Bob Jenkins ------------------------------- - -By Bob Jenkins, 1996. bob_jenkins@burtleburtle.net. You may use this -code any way you wish, private, educational, or commercial. It's free. - -License notice for Greg Parker ------------------------------- - -Greg Parker gparker@cs.stanford.edu December 2000 -This code is in the public domain and may be copied or modified without -permission. - -License notice for libunwind based code ----------------------------------------- - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for Printing Floating-Point Numbers (Dragon4) ------------------------------------------------------------- - -/****************************************************************************** - Copyright (c) 2014 Ryan Juckett - http://www.ryanjuckett.com/ - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source - distribution. -******************************************************************************/ - -License notice for Printing Floating-point Numbers (Grisu3) ------------------------------------------------------------ - -Copyright 2012 the V8 project authors. All rights reserved. -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - * Neither the name of Google Inc. nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for xxHash -------------------------- - -xxHash Library -Copyright (c) 2012-2014, Yann Collet -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, this - list of conditions and the following disclaimer in the documentation and/or - other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Berkeley SoftFloat Release 3e ------------------------------------------------- - -https://github.com/ucb-bar/berkeley-softfloat-3 -https://github.com/ucb-bar/berkeley-softfloat-3/blob/master/COPYING.txt - -License for Berkeley SoftFloat Release 3e - -John R. Hauser -2018 January 20 - -The following applies to the whole of SoftFloat Release 3e as well as to -each source file individually. - -Copyright 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018 The Regents of the -University of California. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - - 1. Redistributions of source code must retain the above copyright notice, - this list of conditions, and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions, and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. Neither the name of the University nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS", AND ANY -EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE -DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND -ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for xoshiro RNGs --------------------------------- - -Written in 2018 by David Blackman and Sebastiano Vigna (vigna@acm.org) - -To the extent possible under law, the author has dedicated all copyright -and related and neighboring rights to this software to the public domain -worldwide. This software is distributed without any warranty. - -See . - -License for fastmod (https://github.com/lemire/fastmod) and ibm-fpgen (https://github.com/nigeltao/parse-number-fxx-test-data) --------------------------------------- - - Copyright 2018 Daniel Lemire - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -License notice for The C++ REST SDK ------------------------------------ - -C++ REST SDK - -The MIT License (MIT) - -Copyright (c) Microsoft Corporation - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for MessagePack-CSharp -------------------------------------- - -MessagePack for C# - -MIT License - -Copyright (c) 2017 Yoshifumi Kawai - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for lz4net -------------------------------------- - -lz4net - -Copyright (c) 2013-2017, Milosz Krajewski - -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Nerdbank.Streams ------------------------------------ - -The MIT License (MIT) - -Copyright (c) Andrew Arnott - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for RapidJSON ----------------------------- - -Tencent is pleased to support the open source community by making RapidJSON available. - -Copyright (C) 2015 THL A29 Limited, a Tencent company, and Milo Yip. All rights reserved. - -Licensed under the MIT License (the "License"); you may not use this file except -in compliance with the License. You may obtain a copy of the License at - -http://opensource.org/licenses/MIT - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. - -License notice for DirectX Math Library ---------------------------------------- - -https://github.com/microsoft/DirectXMath/blob/master/LICENSE - - The MIT License (MIT) - -Copyright (c) 2011-2020 Microsoft Corp - -Permission is hereby granted, free of charge, to any person obtaining a copy of this -software and associated documentation files (the "Software"), to deal in the Software -without restriction, including without limitation the rights to use, copy, modify, -merge, publish, distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be included in all copies -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE -OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for ldap4net ---------------------------- - -The MIT License (MIT) - -Copyright (c) 2018 Alexander Chermyanin - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for vectorized sorting code ------------------------------------------- - -MIT License - -Copyright (c) 2020 Dan Shechter - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -License notice for musl ------------------------ - -musl as a whole is licensed under the following standard MIT license: - -Copyright © 2005-2020 Rich Felker, et al. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -License notice for "Faster Unsigned Division by Constants" ------------------------------- - -Reference implementations of computing and using the "magic number" approach to dividing -by constants, including codegen instructions. The unsigned division incorporates the -"round down" optimization per ridiculous_fish. - -This is free and unencumbered software. Any copyright is dedicated to the Public Domain. - - -License notice for mimalloc ------------------------------------ - -MIT License - -Copyright (c) 2019 Microsoft Corporation, Daan Leijen - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets deleted file mode 100644 index 98eb1d3b..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/buildTransitive/netcoreapp3.1/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/buildTransitive/netcoreapp3.1/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index c5ba4e40..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.xml deleted file mode 100644 index 9d794922..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net461/System.Runtime.CompilerServices.Unsafe.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - System.Runtime.CompilerServices.Unsafe - - - - Contains generic, low-level functionality for manipulating pointers. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given void pointer. - The void pointer to add the offset to. - The offset to add. - The type of void pointer. - A new void pointer that reflects the addition of offset to the specified pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Determines whether the specified references point to the same location. - The first reference to compare. - The second reference to compare. - The type of reference. - - if and point to the same location; otherwise, . - - - Casts the given object to the specified type. - The object to cast. - The type which the object will be cast to. - The original object, casted to the given type. - - - Reinterprets the given reference as a reference to a value of type . - The reference to reinterpret. - The type of reference to reinterpret. - The desired type of the reference. - A reference to a value of type . - - - Returns a pointer to the given by-ref parameter. - The object whose pointer is obtained. - The type of object. - A pointer to the given value. - - - Reinterprets the given read-only reference as a reference. - The read-only reference to reinterpret. - The type of reference. - A reference to a value of type . - - - Reinterprets the given location as a reference to a value of type . - The location of the value to reference. - The type of the interpreted location. - A reference to a value of type . - - - Determines the byte offset from origin to target from the given references. - The reference to origin. - The reference to target. - The type of reference. - Byte offset from origin to target i.e. - . - - - Copies a value of type to the given location. - The location to copy to. - A pointer to the value to copy. - The type of value to copy. - - - Copies a value of type to the given location. - The location to copy to. - A reference to the value to copy. - The type of value to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Returns a value that indicates whether a specified reference is greater than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is greater than ; otherwise, . - - - Returns a value that indicates whether a specified reference is less than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is less than ; otherwise, . - - - Determines if a given reference to a value of type is a null reference. - The reference to check. - The type of the reference. - - if is a null reference; otherwise, . - - - Returns a reference to a value of type that is a null reference. - The type of the reference. - A reference to a value of type that is a null reference. - - - Reads a value of type from the given location. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Returns the size of an object of the given type parameter. - The type of object whose size is retrieved. - The size of an object of type . - - - Bypasses definite assignment rules for a given value. - The uninitialized object. - The type of the uninitialized object. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of offset from pointer. - - - Subtracts an element offset from the given void pointer. - The void pointer to subtract the offset from. - The offset to subtract. - The type of the void pointer. - A new void pointer that reflects the subtraction of offset from the specified pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of byte offset from pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of byte offset from pointer. - - - Returns a to a boxed value. - The value to unbox. - The type to be unboxed. - - is , and is a non-nullable value type. - - is not a boxed value type. - --or- - - is not a boxed . - - cannot be found. - A to the boxed value . - - - Writes a value of type to the given location. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 999abc7e..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml deleted file mode 100644 index 9d794922..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - System.Runtime.CompilerServices.Unsafe - - - - Contains generic, low-level functionality for manipulating pointers. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given void pointer. - The void pointer to add the offset to. - The offset to add. - The type of void pointer. - A new void pointer that reflects the addition of offset to the specified pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Determines whether the specified references point to the same location. - The first reference to compare. - The second reference to compare. - The type of reference. - - if and point to the same location; otherwise, . - - - Casts the given object to the specified type. - The object to cast. - The type which the object will be cast to. - The original object, casted to the given type. - - - Reinterprets the given reference as a reference to a value of type . - The reference to reinterpret. - The type of reference to reinterpret. - The desired type of the reference. - A reference to a value of type . - - - Returns a pointer to the given by-ref parameter. - The object whose pointer is obtained. - The type of object. - A pointer to the given value. - - - Reinterprets the given read-only reference as a reference. - The read-only reference to reinterpret. - The type of reference. - A reference to a value of type . - - - Reinterprets the given location as a reference to a value of type . - The location of the value to reference. - The type of the interpreted location. - A reference to a value of type . - - - Determines the byte offset from origin to target from the given references. - The reference to origin. - The reference to target. - The type of reference. - Byte offset from origin to target i.e. - . - - - Copies a value of type to the given location. - The location to copy to. - A pointer to the value to copy. - The type of value to copy. - - - Copies a value of type to the given location. - The location to copy to. - A reference to the value to copy. - The type of value to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Returns a value that indicates whether a specified reference is greater than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is greater than ; otherwise, . - - - Returns a value that indicates whether a specified reference is less than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is less than ; otherwise, . - - - Determines if a given reference to a value of type is a null reference. - The reference to check. - The type of the reference. - - if is a null reference; otherwise, . - - - Returns a reference to a value of type that is a null reference. - The type of the reference. - A reference to a value of type that is a null reference. - - - Reads a value of type from the given location. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Returns the size of an object of the given type parameter. - The type of object whose size is retrieved. - The size of an object of type . - - - Bypasses definite assignment rules for a given value. - The uninitialized object. - The type of the uninitialized object. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of offset from pointer. - - - Subtracts an element offset from the given void pointer. - The void pointer to subtract the offset from. - The offset to subtract. - The type of the void pointer. - A new void pointer that reflects the subtraction of offset from the specified pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of byte offset from pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of byte offset from pointer. - - - Returns a to a boxed value. - The value to unbox. - The type to be unboxed. - - is , and is a non-nullable value type. - - is not a boxed value type. - --or- - - is not a boxed . - - cannot be found. - A to the boxed value . - - - Writes a value of type to the given location. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 103462b3..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml deleted file mode 100644 index 9d794922..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - System.Runtime.CompilerServices.Unsafe - - - - Contains generic, low-level functionality for manipulating pointers. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given void pointer. - The void pointer to add the offset to. - The offset to add. - The type of void pointer. - A new void pointer that reflects the addition of offset to the specified pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Determines whether the specified references point to the same location. - The first reference to compare. - The second reference to compare. - The type of reference. - - if and point to the same location; otherwise, . - - - Casts the given object to the specified type. - The object to cast. - The type which the object will be cast to. - The original object, casted to the given type. - - - Reinterprets the given reference as a reference to a value of type . - The reference to reinterpret. - The type of reference to reinterpret. - The desired type of the reference. - A reference to a value of type . - - - Returns a pointer to the given by-ref parameter. - The object whose pointer is obtained. - The type of object. - A pointer to the given value. - - - Reinterprets the given read-only reference as a reference. - The read-only reference to reinterpret. - The type of reference. - A reference to a value of type . - - - Reinterprets the given location as a reference to a value of type . - The location of the value to reference. - The type of the interpreted location. - A reference to a value of type . - - - Determines the byte offset from origin to target from the given references. - The reference to origin. - The reference to target. - The type of reference. - Byte offset from origin to target i.e. - . - - - Copies a value of type to the given location. - The location to copy to. - A pointer to the value to copy. - The type of value to copy. - - - Copies a value of type to the given location. - The location to copy to. - A reference to the value to copy. - The type of value to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Returns a value that indicates whether a specified reference is greater than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is greater than ; otherwise, . - - - Returns a value that indicates whether a specified reference is less than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is less than ; otherwise, . - - - Determines if a given reference to a value of type is a null reference. - The reference to check. - The type of the reference. - - if is a null reference; otherwise, . - - - Returns a reference to a value of type that is a null reference. - The type of the reference. - A reference to a value of type that is a null reference. - - - Reads a value of type from the given location. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Returns the size of an object of the given type parameter. - The type of object whose size is retrieved. - The size of an object of type . - - - Bypasses definite assignment rules for a given value. - The uninitialized object. - The type of the uninitialized object. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of offset from pointer. - - - Subtracts an element offset from the given void pointer. - The void pointer to subtract the offset from. - The offset to subtract. - The type of the void pointer. - A new void pointer that reflects the subtraction of offset from the specified pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of byte offset from pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of byte offset from pointer. - - - Returns a to a boxed value. - The value to unbox. - The type to be unboxed. - - is , and is a non-nullable value type. - - is not a boxed value type. - --or- - - is not a boxed . - - cannot be found. - A to the boxed value . - - - Writes a value of type to the given location. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll deleted file mode 100644 index 491a80a9..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml deleted file mode 100644 index 9d794922..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - System.Runtime.CompilerServices.Unsafe - - - - Contains generic, low-level functionality for manipulating pointers. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of offset to pointer. - - - Adds an element offset to the given void pointer. - The void pointer to add the offset to. - The offset to add. - The type of void pointer. - A new void pointer that reflects the addition of offset to the specified pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Adds a byte offset to the given reference. - The reference to add the offset to. - The offset to add. - The type of reference. - A new reference that reflects the addition of byte offset to pointer. - - - Determines whether the specified references point to the same location. - The first reference to compare. - The second reference to compare. - The type of reference. - - if and point to the same location; otherwise, . - - - Casts the given object to the specified type. - The object to cast. - The type which the object will be cast to. - The original object, casted to the given type. - - - Reinterprets the given reference as a reference to a value of type . - The reference to reinterpret. - The type of reference to reinterpret. - The desired type of the reference. - A reference to a value of type . - - - Returns a pointer to the given by-ref parameter. - The object whose pointer is obtained. - The type of object. - A pointer to the given value. - - - Reinterprets the given read-only reference as a reference. - The read-only reference to reinterpret. - The type of reference. - A reference to a value of type . - - - Reinterprets the given location as a reference to a value of type . - The location of the value to reference. - The type of the interpreted location. - A reference to a value of type . - - - Determines the byte offset from origin to target from the given references. - The reference to origin. - The reference to target. - The type of reference. - Byte offset from origin to target i.e. - . - - - Copies a value of type to the given location. - The location to copy to. - A pointer to the value to copy. - The type of value to copy. - - - Copies a value of type to the given location. - The location to copy to. - A reference to the value to copy. - The type of value to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Copies bytes from the source address to the destination address without assuming architecture dependent alignment of the addresses. - The destination address to copy to. - The source address to copy from. - The number of bytes to copy. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Initializes a block of memory at the given location with a given initial value without assuming architecture dependent alignment of the address. - The address of the start of the memory block to initialize. - The value to initialize the block to. - The number of bytes to initialize. - - - Returns a value that indicates whether a specified reference is greater than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is greater than ; otherwise, . - - - Returns a value that indicates whether a specified reference is less than another specified reference. - The first value to compare. - The second value to compare. - The type of the reference. - - if is less than ; otherwise, . - - - Determines if a given reference to a value of type is a null reference. - The reference to check. - The type of the reference. - - if is a null reference; otherwise, . - - - Returns a reference to a value of type that is a null reference. - The type of the reference. - A reference to a value of type that is a null reference. - - - Reads a value of type from the given location. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Reads a value of type from the given location without assuming architecture dependent alignment of the addresses. - The location to read from. - The type to read. - An object of type read from the given location. - - - Returns the size of an object of the given type parameter. - The type of object whose size is retrieved. - The size of an object of type . - - - Bypasses definite assignment rules for a given value. - The uninitialized object. - The type of the uninitialized object. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of offset from pointer. - - - Subtracts an element offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of offset from pointer. - - - Subtracts an element offset from the given void pointer. - The void pointer to subtract the offset from. - The offset to subtract. - The type of the void pointer. - A new void pointer that reflects the subtraction of offset from the specified pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subtraction of byte offset from pointer. - - - Subtracts a byte offset from the given reference. - The reference to subtract the offset from. - The offset to subtract. - The type of reference. - A new reference that reflects the subraction of byte offset from pointer. - - - Returns a to a boxed value. - The value to unbox. - The type to be unboxed. - - is , and is a non-nullable value type. - - is not a boxed value type. - --or- - - is not a boxed . - - cannot be found. - A to the boxed value . - - - Writes a value of type to the given location. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - Writes a value of type to the given location without assuming architecture dependent alignment of the addresses. - The location to write to. - The value to write. - The type of value to write. - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/useSharedDesignerContext.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Runtime.CompilerServices.Unsafe.6.0.0/useSharedDesignerContext.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s deleted file mode 100644 index e0ee9f43..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT deleted file mode 100644 index 984713a4..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/LICENSE.TXT +++ /dev/null @@ -1,23 +0,0 @@ -The MIT License (MIT) - -Copyright (c) .NET Foundation and Contributors - -All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg deleted file mode 100644 index a608bc53..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/System.Threading.Tasks.Extensions.4.5.4.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT deleted file mode 100644 index db542ca2..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/THIRD-PARTY-NOTICES.TXT +++ /dev/null @@ -1,309 +0,0 @@ -.NET Core uses third-party libraries or other resources that may be -distributed under licenses different than the .NET Core software. - -In the event that we accidentally failed to list a required notice, please -bring it to our attention. Post an issue or email us: - - dotnet@microsoft.com - -The attached notices are provided for information only. - -License notice for Slicing-by-8 -------------------------------- - -http://sourceforge.net/projects/slicing-by-8/ - -Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - - -This software program is licensed subject to the BSD License, available at -http://www.opensource.org/licenses/bsd-license.html. - - -License notice for Unicode data -------------------------------- - -http://www.unicode.org/copyright.html#License - -Copyright © 1991-2017 Unicode, Inc. All rights reserved. -Distributed under the Terms of Use in http://www.unicode.org/copyright.html. - -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Unicode data files and any associated documentation -(the "Data Files") or Unicode software and any associated documentation -(the "Software") to deal in the Data Files or Software -without restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, and/or sell copies of -the Data Files or Software, and to permit persons to whom the Data Files -or Software are furnished to do so, provided that either -(a) this copyright and permission notice appear with all copies -of the Data Files or Software, or -(b) this copyright and permission notice appear in associated -Documentation. - -THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF -ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE -WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT OF THIRD PARTY RIGHTS. -IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS -NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL -DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, -DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER -TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THE DATA FILES OR SOFTWARE. - -Except as contained in this notice, the name of a copyright holder -shall not be used in advertising or otherwise to promote the sale, -use or other dealings in these Data Files or Software without prior -written authorization of the copyright holder. - -License notice for Zlib ------------------------ - -https://github.com/madler/zlib -http://zlib.net/zlib_license.html - -/* zlib.h -- interface of the 'zlib' general purpose compression library - version 1.2.11, January 15th, 2017 - - Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler - - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu - -*/ - -License notice for Mono -------------------------------- - -http://www.mono-project.com/docs/about-mono/ - -Copyright (c) .NET Foundation Contributors - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the Software), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -License notice for International Organization for Standardization ------------------------------------------------------------------ - -Portions (C) International Organization for Standardization 1986: - Permission to copy in any form is granted for use with - conforming SGML systems and applications as defined in - ISO 8879, provided this notice is included in all copies. - -License notice for Intel ------------------------- - -"Copyright (c) 2004-2006 Intel Corporation - All Rights Reserved - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this -list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, -this list of conditions and the following disclaimer in the documentation -and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -License notice for Xamarin and Novell -------------------------------------- - -Copyright (c) 2015 Xamarin, Inc (http://www.xamarin.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Copyright (c) 2011 Novell, Inc (http://www.novell.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -Third party notice for W3C --------------------------- - -"W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE -Status: This license takes effect 13 May, 2015. -This work is being provided by the copyright holders under the following license. -License -By obtaining and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. -Permission to copy, modify, and distribute this work, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the work or portions thereof, including modifications: -The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. -Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software and Document Short Notice should be included. -Notice of any changes or modifications, through a copyright statement on the new code or document such as "This software or document includes material copied from or derived from [title and URI of the W3C document]. Copyright © [YEAR] W3C® (MIT, ERCIM, Keio, Beihang)." -Disclaimers -THIS WORK IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENT WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. -COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENT. -The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the work without specific, written prior permission. Title to copyright in this work will at all times remain with copyright holders." - -License notice for Bit Twiddling Hacks --------------------------------------- - -Bit Twiddling Hacks - -By Sean Eron Anderson -seander@cs.stanford.edu - -Individually, the code snippets here are in the public domain (unless otherwise -noted) — feel free to use them however you please. The aggregate collection and -descriptions are © 1997-2005 Sean Eron Anderson. The code and descriptions are -distributed in the hope that they will be useful, but WITHOUT ANY WARRANTY and -without even the implied warranty of merchantability or fitness for a particular -purpose. - -License notice for Brotli --------------------------------------- - -Copyright (c) 2009, 2010, 2013-2016 by the Brotli Authors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -compress_fragment.c: -Copyright (c) 2011, Google Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -decode_fuzzer.c: -Copyright (c) 2015 The Chromium Authors. All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - - * Redistributions of source code must retain the above copyright -notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above -copyright notice, this list of conditions and the following disclaimer -in the documentation and/or other materials provided with the -distribution. - * Neither the name of Google Inc. nor the names of its -contributors may be used to endorse or promote products derived from -this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -""AS IS"" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoAndroid10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoAndroid10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoTouch10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/MonoTouch10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll deleted file mode 100644 index eeec9285..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml deleted file mode 100644 index 5e02a99d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/net461/System.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - System.Threading.Tasks.Extensions - - - - - - - - - - - - - - - - - - - Provides a value type that wraps a and a TResult, only one of which is used. - The result. - - - Initializes a new instance of the class using the supplied task that represents the operation. - The task. - The task argument is null. - - - Initializes a new instance of the class using the supplied result of a successful operation. - The result. - - - Retrieves a object that represents this . - The object that is wrapped in this if one exists, or a new object that represents the result. - - - Configures an awaiter for this value. - true to attempt to marshal the continuation back to the captured context; otherwise, false. - The configured awaiter. - - - Creates a method builder for use with an async method. - The created builder. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Creates an awaiter for this value. - The awaiter. - - - Returns the hash code for this instance. - The hash code for the current object. - - - Gets a value that indicates whether this object represents a canceled operation. - true if this object represents a canceled operation; otherwise, false. - - - Gets a value that indicates whether this object represents a completed operation. - true if this object represents a completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a successfully completed operation. - true if this object represents a successfully completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a failed operation. - true if this object represents a failed operation; otherwise, false. - - - Compares two values for equality. - The first value to compare. - The second value to compare. - true if the two values are equal; otherwise, false. - - - Determines whether two values are unequal. - The first value to compare. - The seconed value to compare. - true if the two values are not equal; otherwise, false. - - - Gets the result. - The result. - - - Returns a string that represents the current object. - A string that represents the current object. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netcoreapp2.1/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netcoreapp2.1/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll deleted file mode 100644 index dfc4cdf6..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml deleted file mode 100644 index 5e02a99d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard1.0/System.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - System.Threading.Tasks.Extensions - - - - - - - - - - - - - - - - - - - Provides a value type that wraps a and a TResult, only one of which is used. - The result. - - - Initializes a new instance of the class using the supplied task that represents the operation. - The task. - The task argument is null. - - - Initializes a new instance of the class using the supplied result of a successful operation. - The result. - - - Retrieves a object that represents this . - The object that is wrapped in this if one exists, or a new object that represents the result. - - - Configures an awaiter for this value. - true to attempt to marshal the continuation back to the captured context; otherwise, false. - The configured awaiter. - - - Creates a method builder for use with an async method. - The created builder. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Creates an awaiter for this value. - The awaiter. - - - Returns the hash code for this instance. - The hash code for the current object. - - - Gets a value that indicates whether this object represents a canceled operation. - true if this object represents a canceled operation; otherwise, false. - - - Gets a value that indicates whether this object represents a completed operation. - true if this object represents a completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a successfully completed operation. - true if this object represents a successfully completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a failed operation. - true if this object represents a failed operation; otherwise, false. - - - Compares two values for equality. - The first value to compare. - The second value to compare. - true if the two values are equal; otherwise, false. - - - Determines whether two values are unequal. - The first value to compare. - The seconed value to compare. - true if the two values are not equal; otherwise, false. - - - Gets the result. - The result. - - - Returns a string that represents the current object. - A string that represents the current object. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll deleted file mode 100644 index dfab2347..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml deleted file mode 100644 index 5e02a99d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/netstandard2.0/System.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - System.Threading.Tasks.Extensions - - - - - - - - - - - - - - - - - - - Provides a value type that wraps a and a TResult, only one of which is used. - The result. - - - Initializes a new instance of the class using the supplied task that represents the operation. - The task. - The task argument is null. - - - Initializes a new instance of the class using the supplied result of a successful operation. - The result. - - - Retrieves a object that represents this . - The object that is wrapped in this if one exists, or a new object that represents the result. - - - Configures an awaiter for this value. - true to attempt to marshal the continuation back to the captured context; otherwise, false. - The configured awaiter. - - - Creates a method builder for use with an async method. - The created builder. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Creates an awaiter for this value. - The awaiter. - - - Returns the hash code for this instance. - The hash code for the current object. - - - Gets a value that indicates whether this object represents a canceled operation. - true if this object represents a canceled operation; otherwise, false. - - - Gets a value that indicates whether this object represents a completed operation. - true if this object represents a completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a successfully completed operation. - true if this object represents a successfully completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a failed operation. - true if this object represents a failed operation; otherwise, false. - - - Compares two values for equality. - The first value to compare. - The second value to compare. - true if the two values are equal; otherwise, false. - - - Determines whether two values are unequal. - The first value to compare. - The seconed value to compare. - true if the two values are not equal; otherwise, false. - - - Gets the result. - The result. - - - Returns a string that represents the current object. - A string that represents the current object. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll deleted file mode 100644 index dfc4cdf6..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml deleted file mode 100644 index 5e02a99d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/portable-net45+win8+wp8+wpa81/System.Threading.Tasks.Extensions.xml +++ /dev/null @@ -1,166 +0,0 @@ - - - System.Threading.Tasks.Extensions - - - - - - - - - - - - - - - - - - - Provides a value type that wraps a and a TResult, only one of which is used. - The result. - - - Initializes a new instance of the class using the supplied task that represents the operation. - The task. - The task argument is null. - - - Initializes a new instance of the class using the supplied result of a successful operation. - The result. - - - Retrieves a object that represents this . - The object that is wrapped in this if one exists, or a new object that represents the result. - - - Configures an awaiter for this value. - true to attempt to marshal the continuation back to the captured context; otherwise, false. - The configured awaiter. - - - Creates a method builder for use with an async method. - The created builder. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Determines whether the specified object is equal to the current object. - The object to compare with the current object. - true if the specified object is equal to the current object; otherwise, false. - - - Creates an awaiter for this value. - The awaiter. - - - Returns the hash code for this instance. - The hash code for the current object. - - - Gets a value that indicates whether this object represents a canceled operation. - true if this object represents a canceled operation; otherwise, false. - - - Gets a value that indicates whether this object represents a completed operation. - true if this object represents a completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a successfully completed operation. - true if this object represents a successfully completed operation; otherwise, false. - - - Gets a value that indicates whether this object represents a failed operation. - true if this object represents a failed operation; otherwise, false. - - - Compares two values for equality. - The first value to compare. - The second value to compare. - true if the two values are equal; otherwise, false. - - - Determines whether two values are unequal. - The first value to compare. - The seconed value to compare. - true if the two values are not equal; otherwise, false. - - - Gets the result. - The result. - - - Returns a string that represents the current object. - A string that represents the current object. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinios10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinios10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinmac20/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinmac20/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarintvos10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarintvos10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinwatchos10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/lib/xamarinwatchos10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoAndroid10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoAndroid10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoTouch10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/MonoTouch10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/netcoreapp2.1/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/netcoreapp2.1/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinios10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinios10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinmac20/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinmac20/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarintvos10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarintvos10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinwatchos10/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/ref/xamarinwatchos10/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/useSharedDesignerContext.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/useSharedDesignerContext.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt deleted file mode 100644 index 8d6cdd69..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/System.Threading.Tasks.Extensions.4.5.4/version.txt +++ /dev/null @@ -1 +0,0 @@ -7601f4f6225089ffb291dc7d58293c7bbf5c5d4f diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/.signature.p7s deleted file mode 100644 index 7b092b16..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/xunit.2.4.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/xunit.2.4.2.nupkg deleted file mode 100644 index 39705b7f..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.2.4.2/xunit.2.4.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/.signature.p7s deleted file mode 100644 index 28be95ac..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.dll deleted file mode 100644 index 2da267c2..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.xml deleted file mode 100644 index 7dba65f3..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/net35/xunit.abstractions.xml +++ /dev/null @@ -1,1087 +0,0 @@ - - - - xunit.abstractions - - - - - Represents source information about a test case. - - - - - Interface implement by objects that want to support serialization in xUnit.net. - - - - - Called when the object should populate itself with data from the serialization info. - - The info to get the data from - - - - Called when the object should store its data into the serialization info. - - The info to store the data in - - - - Gets or sets the source file name. A null value indicates that the - source file name is not known. - - - - - Gets or sets the source file line. A null value indicates that the - source file line is not known. - - - - - Represents a provider which gives source line information for a test case. Generally - consumed by an implementation of during Find operations. - - - - - Returns the source information for a test case. - - The test case to retrieve information for. - The source information, with null string and int values when the information is not available. - Note: return value should never be null, only the interior data values inside. - - - - Represents a test framework. There are two pieces to test frameworks: discovery and - execution. The two factory methods represent these two pieces. Test frameworks can - implement an empty constructor, or they can implement one that takes - if they want to be able to send diagnostic messages. - - - - - Get a test discoverer. - - The assembly from which to discover the tests. - The test discoverer. - - - - Get a test executor. - - The name of the assembly to run tests from. - The test executor. - - - - Sets the source information provider to be used during discovery. - - - - - Represents an implementation of the discovery part of a test framework. - - - - - Starts the process of finding all tests in an assembly. - - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Starts the process of finding all tests in a class. - - The fully qualified type name to find tests in. - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Serializes a test case into string form. - - The test case to be serialized. - The serialized representation of the test case. - - - - Gets the target framework that the test assembly is linked against. - - - - - Returns the display name of the test framework that this discoverer is running tests for. - - - - - Represents an instance of that is to be used for - test discovery purposes. - - - - - This interface should not be consumed directly; instead, you should - consume - or . - - - - - Gets an option value. - - The type of the value. - The name of the value. - The value. - - - - Sets an option value. - - The type of the value. - The name of the value. - The value to be set. - - - - Represents an instance of that is to be used for - test execution purposes. - - - - - Represents an implementation of the execution part of a test framework. - - - - - De-serializes a test case. - - The string representation of the test case. - The de-serialized test case. - - - - Starts the process of running all the tests in the assembly. - - The message sink to report results back to. - The options to be used during test discovery. - The options to be used during test execution. - - - - Starts the process of running selected tests in the assembly. - - The test cases to run. - The message sink to report results back to. - The options to be used during test execution. - - - - Base message interface for all messages related to test execution. It includes the list - of test cases that are associated with this execution step. - - - - - This is the base interface for all test messages. A test message is a message that is - used to communicate the status of discovery and execution of tests. - - - - - The test cases that are associated with this message. - - - - - This represents failure information for the test runner. It encapsulates multiple sets - of exceptions so that it can provide inner exception information, including support for - . The parent indices indicate the hierarchy of the exceptions - as extracted during the failure; the 0th exception is always the single parent of the tree, - and will have an index of -1. - - - - - The fully-qualified type name of the exceptions. - - - - - The messages of the exceptions. - - - - - The stack traces of the exceptions. - - - - - The parent exception index for the exceptions; a -1 indicates that - the exception in question has no parent. - - - - - This is the base message for various types of completion that can occur during the - various phases of execution process (e.g., test case, test class, test collection, - and assembly). - - - - - The execution time (in seconds) for this execution. - - - - - The number of failing tests. - - - - - The total number of tests run. - - - - - The number of skipped tests. - - - - - Represents an endpoint for the reception of test messages. - - - - - Reports the presence of a message on the message bus. This method should - never throw exceptions. - - The message from the message bus - Return true to continue running tests, or false to stop. - - - - Base message interface for all messages related to test assemblies. - - - - - The test assembly that is associated with this message. - - - - - Base message interface for all messages related to test cases. - - - - - Base message interface for all messages related to test methods. - - - - - Base message interface for all messages related to test classes. - - - - - Base message interface for all messages related to test collections. - - - - - The test collection that is associated with this message. - - - - - The test class that is associated with this message. - - - - - The test method that is associated with this message. - - - - - The test case that is associated with this message. - - - - - Base message interface for all messages related to tests. - - - - - The test that is associated with this message. - - - - - This is the base interface for all individual test results (e.g., tests which - pass, fail, or are skipped). - - - - - The execution time of the test, in seconds. - - - - - The captured output of the test. - - - - - This message is sent during execution to indicate that the After method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the After method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent when the test framework wants to report a diagnostic message - to the end user. - - - - - Gets the diagnostic message. - - - - - This message indicates that the discovery process has been completed for - the requested assembly. - - - - - This message indicates that an error has occurred in the execution process. - - - - - This message indicates that an error has occurred in test assembly cleanup. - - - - - This message indicates that the execution process has been completed for - the requested assembly. - - - - - This message indicates that the execution process is about to start for - the requested assembly. - - - - - Gets the local date and time when the test assembly execution began. - - - - - Gets a display string that describes the test execution environment. - - - - - Gets a display string which describes the test framework and version number. - - - - - This message indicates that an error has occurred during test case cleanup. - - - - - This message indicates that a test case had been found during the discovery process. - - - - - This message indicates that a test case has finished executing. - - - - - This message indicates that a test case is about to start executing. - - - - - This message indicates that an error has occurred during test class cleanup. - - - - - This message indicates that an instance of a test class has just been constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that an instance of a test class is about to be constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that the method was - just called on the test class for the test case that just finished executing. - - - - - This message indicates that the method is - about to be called on the test class for the test case that just finished executing. - - - - - This message indicates that a test class has finished executing (meaning, all of the - test cases in this test class have finished running). - - - - - This message indicates that a test class is about to begin running. - - - - - This message indicates that an error has occurred during test cleanup. - - - - - This message indicates that an error has occurred during test collection cleanup. - - - - - This message indicates that a test collection has just finished executing (meaning, - all the test classes in the collection has finished). - - - - - This message indicates that a test collection has is about to start executing. - - - - - This message indicates that a test has failed. - - - - - This message indicates that a test has finished executing. - - - - - Gets the time spent executing the test, in seconds. - - - - - The captured output of the test. - - - - - This message indicates that an error has occurred during test method cleanup. - - - - - This message indicates that a test method has finished executing (meaning, all - the test cases that derived from the test method have finished). - - - - - This message indicates that a test method is about to begin executing. - - - - - This message indicates that a line of output was provided for a test. - - - - - Gets the line of output. - - - - - Indicates that a test has passed. - - - - - This message indicates that a test was skipped. - - - - - The reason given for skipping the test. - - - - - This message indicates that a test is about to start executing. - - - - - Represents information about an assembly. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given assembly. - - The type of the attribute, in assembly-qualified form - The matching attributes that decorate the assembly - - - - Gets a for the given type. - - The fully qualified type name. - The if the type exists, or null if not. - - - - Gets all the types for the assembly. - - Set to true to return all types in the assembly, - or false to return only public types. - The types in the assembly. - - - - Gets the on-disk location of the assembly under test. If the assembly path is not - known (for example, in AST-based runners), you must return null. - - - This is used by the test framework wrappers to find the co-located unit test framework - assembly (f.e., xunit.dll or xunit.execution.dll). AST-based runners will need to directly create - instances of and (using the constructors that - support an explicit path to the test framework DLL) rather than relying on the - use of . - - - - - Gets the assembly name. May return a fully qualified name for assemblies found via - reflection (i.e., "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"), - or may return just assembly name only for assemblies found via source code introspection - (i.e., "mscorlib"). - - - - - Represents information about an attribute. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets the arguments passed to the constructor. - - The constructor arguments, in order - - - - Gets all the custom attributes for the given attribute. - - The type of the attribute to find, in assembly-qualified form - The matching attributes that decorate the attribute - - - - Gets a named-argument initialized value of the attribute. If there is no named argument for the given name - on this attribute, then returns default(TValue). - - The type of the argument - The name of the argument - The argument value - - - - Represents information about a method. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the method that are of the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the method - - - - Gets the types of the generic arguments for generic methods. - - The argument types. - - - - Gets information about the parameters to the method. - - The method's parameters. - - - - Converts an open generic method into a closed generic method, using the provided type arguments. - - The type arguments to be used in the generic definition. - A new that represents the closed generic method. - - - - Gets a value indicating whether the method is abstract. - - - - - Gets a value indicating whether the method is a generic definition (i.e., an open generic). - - - - - Gets a value indicating whether the method is public. - - - - - Gets a value indicating whether the method is static. - - - - - Gets the name of the method. - - - - - Gets the fully qualified type name of the return type. - - - - - Gets a value which represents the class that this method was - reflected from (i.e., equivalent to MethodInfo.ReflectedType) - - - - - Represents information about a method parameter. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - The name of the parameter. - - - - - Gets the type of the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the assembly. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the instance of the attribute, if available. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the method. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Represents information about a type. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the type - - - - Gets the generic type arguments for a generic type. - - The list of generic types. - - - - Gets a specific method. - - The name of the method. - Set to true to look for the method in both public and private. - The method. - - - - Gets all the methods in this type. - - Set to true to return all methods in the type, - or false to return only public methods. - - - - Gets the assembly this type is located in. - - - - - Gets the base type of the given type. - - - - - Gets the interfaces implemented by the given type. - - - - - Gets a value indicating whether the type is abstract. - - - - - Gets a value indicating whether the type represents a generic parameter. - - - - - Gets a value indicating whether the type is a generic type. - - - - - Gets a value indicating whether the type is sealed. - - - - - Gets a value indicating whether the type is a value type. - - - - - Gets the fully qualified type name (for non-generic parameters), or the - simple type name (for generic parameters). - - - - - Gets the underlying object. - - - - - Represents serialization support in xUnit.net. - - - - - Adds a value to the serialization. Supported value types include the built-in - intrinsics (string, int, long, float, double, and decimal, including nullable - versions of those), any class which implements ), - or arrays of any supported types. - - The key - The value - The optional type of the value - - - - Gets a value from the serialization. - - The key - The type of the value - The value, if present; null, otherwise - - - - Gets a value from the serialization. - - The key - The value, if present; default(T), otherwise - - - - Represents a single test in the system. A test case typically contains only a single test, - but may contain many if circumstances warrant it (for example, test data for a theory cannot - be pre-enumerated, so the theory yields a single test case with multiple tests). - - - - - Gets the display name of the test. - - - - - Gets the test case this test belongs to. - - - - - Represents a test assembly. - - - - - Gets the assembly that this test assembly belongs to. - - - - - Gets the full path of the configuration file name, if one is present. - May be null if there is no configuration file. - - - - - Represents a single test case in the system. This test case usually represents a single test, but in - the case of dynamically generated data for data driven tests, the test case may actually return - multiple results when run. - - - - - Gets the display name of the test case. - - - - - Gets the display text for the reason a test is being skipped; if the test - is not skipped, returns null. - - - - - Get or sets the source file name and line where the test is defined, if requested (and known). - - - - - Gets the test method this test case belongs to. - - - - - Gets the arguments that will be passed to the test method. - - - - - Gets the trait values associated with this test case. If - there are none, or the framework does not support traits, - this should return an empty dictionary (not null). This - dictionary must be treated as read-only. - - - - - Gets a unique identifier for the test case. - - - The unique identifier for a test case should be able to discriminate - among test cases, even those which are varied invocations against the - same test method (i.e., theories). Ideally, this identifier would remain - stable until such time as the developer changes some fundamental part - of the identity (assembly, class name, test name, or test data); however, - the minimum stability of the identifier must at least extend across - multiple discoveries of the same test in the same (non-recompiled) - assembly. - - - - - Represents a test class. - - - - - Gets the class that this test case is attached to. - - - - - Gets the test collection this test case belongs to. - - - - - Represents a group of test cases. Test collections form the basis of the parallelization in - xUnit.net. Test cases which are in the same test collection will not be run in parallel - against sibling tests, but will run in parallel against tests in other collections. - - - - - Gets the type that the test collection was defined with, if available; may be null - if the test collection didn't have a definition type. - - - - - Gets the display name of the test collection. - - - - - Gets the test assembly this test collection belongs to. - - - - - Gets the test collection ID. Test collection equality is determined by comparing IDs. - - - - - Represents a test method. - - - - - Gets the method associated with this test method. - - - - - Gets the test class that this test method belongs to. - - - - - Represents a class which can be used to provide test output. - - - - - Adds a line of text to the output. - - The message - - - - Formats a line of text and adds it to the output. - - The message format - The format arguments - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.dll deleted file mode 100644 index a61163e6..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.xml deleted file mode 100644 index 7dba65f3..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard1.0/xunit.abstractions.xml +++ /dev/null @@ -1,1087 +0,0 @@ - - - - xunit.abstractions - - - - - Represents source information about a test case. - - - - - Interface implement by objects that want to support serialization in xUnit.net. - - - - - Called when the object should populate itself with data from the serialization info. - - The info to get the data from - - - - Called when the object should store its data into the serialization info. - - The info to store the data in - - - - Gets or sets the source file name. A null value indicates that the - source file name is not known. - - - - - Gets or sets the source file line. A null value indicates that the - source file line is not known. - - - - - Represents a provider which gives source line information for a test case. Generally - consumed by an implementation of during Find operations. - - - - - Returns the source information for a test case. - - The test case to retrieve information for. - The source information, with null string and int values when the information is not available. - Note: return value should never be null, only the interior data values inside. - - - - Represents a test framework. There are two pieces to test frameworks: discovery and - execution. The two factory methods represent these two pieces. Test frameworks can - implement an empty constructor, or they can implement one that takes - if they want to be able to send diagnostic messages. - - - - - Get a test discoverer. - - The assembly from which to discover the tests. - The test discoverer. - - - - Get a test executor. - - The name of the assembly to run tests from. - The test executor. - - - - Sets the source information provider to be used during discovery. - - - - - Represents an implementation of the discovery part of a test framework. - - - - - Starts the process of finding all tests in an assembly. - - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Starts the process of finding all tests in a class. - - The fully qualified type name to find tests in. - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Serializes a test case into string form. - - The test case to be serialized. - The serialized representation of the test case. - - - - Gets the target framework that the test assembly is linked against. - - - - - Returns the display name of the test framework that this discoverer is running tests for. - - - - - Represents an instance of that is to be used for - test discovery purposes. - - - - - This interface should not be consumed directly; instead, you should - consume - or . - - - - - Gets an option value. - - The type of the value. - The name of the value. - The value. - - - - Sets an option value. - - The type of the value. - The name of the value. - The value to be set. - - - - Represents an instance of that is to be used for - test execution purposes. - - - - - Represents an implementation of the execution part of a test framework. - - - - - De-serializes a test case. - - The string representation of the test case. - The de-serialized test case. - - - - Starts the process of running all the tests in the assembly. - - The message sink to report results back to. - The options to be used during test discovery. - The options to be used during test execution. - - - - Starts the process of running selected tests in the assembly. - - The test cases to run. - The message sink to report results back to. - The options to be used during test execution. - - - - Base message interface for all messages related to test execution. It includes the list - of test cases that are associated with this execution step. - - - - - This is the base interface for all test messages. A test message is a message that is - used to communicate the status of discovery and execution of tests. - - - - - The test cases that are associated with this message. - - - - - This represents failure information for the test runner. It encapsulates multiple sets - of exceptions so that it can provide inner exception information, including support for - . The parent indices indicate the hierarchy of the exceptions - as extracted during the failure; the 0th exception is always the single parent of the tree, - and will have an index of -1. - - - - - The fully-qualified type name of the exceptions. - - - - - The messages of the exceptions. - - - - - The stack traces of the exceptions. - - - - - The parent exception index for the exceptions; a -1 indicates that - the exception in question has no parent. - - - - - This is the base message for various types of completion that can occur during the - various phases of execution process (e.g., test case, test class, test collection, - and assembly). - - - - - The execution time (in seconds) for this execution. - - - - - The number of failing tests. - - - - - The total number of tests run. - - - - - The number of skipped tests. - - - - - Represents an endpoint for the reception of test messages. - - - - - Reports the presence of a message on the message bus. This method should - never throw exceptions. - - The message from the message bus - Return true to continue running tests, or false to stop. - - - - Base message interface for all messages related to test assemblies. - - - - - The test assembly that is associated with this message. - - - - - Base message interface for all messages related to test cases. - - - - - Base message interface for all messages related to test methods. - - - - - Base message interface for all messages related to test classes. - - - - - Base message interface for all messages related to test collections. - - - - - The test collection that is associated with this message. - - - - - The test class that is associated with this message. - - - - - The test method that is associated with this message. - - - - - The test case that is associated with this message. - - - - - Base message interface for all messages related to tests. - - - - - The test that is associated with this message. - - - - - This is the base interface for all individual test results (e.g., tests which - pass, fail, or are skipped). - - - - - The execution time of the test, in seconds. - - - - - The captured output of the test. - - - - - This message is sent during execution to indicate that the After method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the After method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent when the test framework wants to report a diagnostic message - to the end user. - - - - - Gets the diagnostic message. - - - - - This message indicates that the discovery process has been completed for - the requested assembly. - - - - - This message indicates that an error has occurred in the execution process. - - - - - This message indicates that an error has occurred in test assembly cleanup. - - - - - This message indicates that the execution process has been completed for - the requested assembly. - - - - - This message indicates that the execution process is about to start for - the requested assembly. - - - - - Gets the local date and time when the test assembly execution began. - - - - - Gets a display string that describes the test execution environment. - - - - - Gets a display string which describes the test framework and version number. - - - - - This message indicates that an error has occurred during test case cleanup. - - - - - This message indicates that a test case had been found during the discovery process. - - - - - This message indicates that a test case has finished executing. - - - - - This message indicates that a test case is about to start executing. - - - - - This message indicates that an error has occurred during test class cleanup. - - - - - This message indicates that an instance of a test class has just been constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that an instance of a test class is about to be constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that the method was - just called on the test class for the test case that just finished executing. - - - - - This message indicates that the method is - about to be called on the test class for the test case that just finished executing. - - - - - This message indicates that a test class has finished executing (meaning, all of the - test cases in this test class have finished running). - - - - - This message indicates that a test class is about to begin running. - - - - - This message indicates that an error has occurred during test cleanup. - - - - - This message indicates that an error has occurred during test collection cleanup. - - - - - This message indicates that a test collection has just finished executing (meaning, - all the test classes in the collection has finished). - - - - - This message indicates that a test collection has is about to start executing. - - - - - This message indicates that a test has failed. - - - - - This message indicates that a test has finished executing. - - - - - Gets the time spent executing the test, in seconds. - - - - - The captured output of the test. - - - - - This message indicates that an error has occurred during test method cleanup. - - - - - This message indicates that a test method has finished executing (meaning, all - the test cases that derived from the test method have finished). - - - - - This message indicates that a test method is about to begin executing. - - - - - This message indicates that a line of output was provided for a test. - - - - - Gets the line of output. - - - - - Indicates that a test has passed. - - - - - This message indicates that a test was skipped. - - - - - The reason given for skipping the test. - - - - - This message indicates that a test is about to start executing. - - - - - Represents information about an assembly. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given assembly. - - The type of the attribute, in assembly-qualified form - The matching attributes that decorate the assembly - - - - Gets a for the given type. - - The fully qualified type name. - The if the type exists, or null if not. - - - - Gets all the types for the assembly. - - Set to true to return all types in the assembly, - or false to return only public types. - The types in the assembly. - - - - Gets the on-disk location of the assembly under test. If the assembly path is not - known (for example, in AST-based runners), you must return null. - - - This is used by the test framework wrappers to find the co-located unit test framework - assembly (f.e., xunit.dll or xunit.execution.dll). AST-based runners will need to directly create - instances of and (using the constructors that - support an explicit path to the test framework DLL) rather than relying on the - use of . - - - - - Gets the assembly name. May return a fully qualified name for assemblies found via - reflection (i.e., "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"), - or may return just assembly name only for assemblies found via source code introspection - (i.e., "mscorlib"). - - - - - Represents information about an attribute. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets the arguments passed to the constructor. - - The constructor arguments, in order - - - - Gets all the custom attributes for the given attribute. - - The type of the attribute to find, in assembly-qualified form - The matching attributes that decorate the attribute - - - - Gets a named-argument initialized value of the attribute. If there is no named argument for the given name - on this attribute, then returns default(TValue). - - The type of the argument - The name of the argument - The argument value - - - - Represents information about a method. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the method that are of the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the method - - - - Gets the types of the generic arguments for generic methods. - - The argument types. - - - - Gets information about the parameters to the method. - - The method's parameters. - - - - Converts an open generic method into a closed generic method, using the provided type arguments. - - The type arguments to be used in the generic definition. - A new that represents the closed generic method. - - - - Gets a value indicating whether the method is abstract. - - - - - Gets a value indicating whether the method is a generic definition (i.e., an open generic). - - - - - Gets a value indicating whether the method is public. - - - - - Gets a value indicating whether the method is static. - - - - - Gets the name of the method. - - - - - Gets the fully qualified type name of the return type. - - - - - Gets a value which represents the class that this method was - reflected from (i.e., equivalent to MethodInfo.ReflectedType) - - - - - Represents information about a method parameter. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - The name of the parameter. - - - - - Gets the type of the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the assembly. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the instance of the attribute, if available. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the method. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Represents information about a type. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the type - - - - Gets the generic type arguments for a generic type. - - The list of generic types. - - - - Gets a specific method. - - The name of the method. - Set to true to look for the method in both public and private. - The method. - - - - Gets all the methods in this type. - - Set to true to return all methods in the type, - or false to return only public methods. - - - - Gets the assembly this type is located in. - - - - - Gets the base type of the given type. - - - - - Gets the interfaces implemented by the given type. - - - - - Gets a value indicating whether the type is abstract. - - - - - Gets a value indicating whether the type represents a generic parameter. - - - - - Gets a value indicating whether the type is a generic type. - - - - - Gets a value indicating whether the type is sealed. - - - - - Gets a value indicating whether the type is a value type. - - - - - Gets the fully qualified type name (for non-generic parameters), or the - simple type name (for generic parameters). - - - - - Gets the underlying object. - - - - - Represents serialization support in xUnit.net. - - - - - Adds a value to the serialization. Supported value types include the built-in - intrinsics (string, int, long, float, double, and decimal, including nullable - versions of those), any class which implements ), - or arrays of any supported types. - - The key - The value - The optional type of the value - - - - Gets a value from the serialization. - - The key - The type of the value - The value, if present; null, otherwise - - - - Gets a value from the serialization. - - The key - The value, if present; default(T), otherwise - - - - Represents a single test in the system. A test case typically contains only a single test, - but may contain many if circumstances warrant it (for example, test data for a theory cannot - be pre-enumerated, so the theory yields a single test case with multiple tests). - - - - - Gets the display name of the test. - - - - - Gets the test case this test belongs to. - - - - - Represents a test assembly. - - - - - Gets the assembly that this test assembly belongs to. - - - - - Gets the full path of the configuration file name, if one is present. - May be null if there is no configuration file. - - - - - Represents a single test case in the system. This test case usually represents a single test, but in - the case of dynamically generated data for data driven tests, the test case may actually return - multiple results when run. - - - - - Gets the display name of the test case. - - - - - Gets the display text for the reason a test is being skipped; if the test - is not skipped, returns null. - - - - - Get or sets the source file name and line where the test is defined, if requested (and known). - - - - - Gets the test method this test case belongs to. - - - - - Gets the arguments that will be passed to the test method. - - - - - Gets the trait values associated with this test case. If - there are none, or the framework does not support traits, - this should return an empty dictionary (not null). This - dictionary must be treated as read-only. - - - - - Gets a unique identifier for the test case. - - - The unique identifier for a test case should be able to discriminate - among test cases, even those which are varied invocations against the - same test method (i.e., theories). Ideally, this identifier would remain - stable until such time as the developer changes some fundamental part - of the identity (assembly, class name, test name, or test data); however, - the minimum stability of the identifier must at least extend across - multiple discoveries of the same test in the same (non-recompiled) - assembly. - - - - - Represents a test class. - - - - - Gets the class that this test case is attached to. - - - - - Gets the test collection this test case belongs to. - - - - - Represents a group of test cases. Test collections form the basis of the parallelization in - xUnit.net. Test cases which are in the same test collection will not be run in parallel - against sibling tests, but will run in parallel against tests in other collections. - - - - - Gets the type that the test collection was defined with, if available; may be null - if the test collection didn't have a definition type. - - - - - Gets the display name of the test collection. - - - - - Gets the test assembly this test collection belongs to. - - - - - Gets the test collection ID. Test collection equality is determined by comparing IDs. - - - - - Represents a test method. - - - - - Gets the method associated with this test method. - - - - - Gets the test class that this test method belongs to. - - - - - Represents a class which can be used to provide test output. - - - - - Adds a line of text to the output. - - The message - - - - Formats a line of text and adds it to the output. - - The message format - The format arguments - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.dll deleted file mode 100644 index d1e90bf7..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.xml deleted file mode 100644 index 7dba65f3..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/lib/netstandard2.0/xunit.abstractions.xml +++ /dev/null @@ -1,1087 +0,0 @@ - - - - xunit.abstractions - - - - - Represents source information about a test case. - - - - - Interface implement by objects that want to support serialization in xUnit.net. - - - - - Called when the object should populate itself with data from the serialization info. - - The info to get the data from - - - - Called when the object should store its data into the serialization info. - - The info to store the data in - - - - Gets or sets the source file name. A null value indicates that the - source file name is not known. - - - - - Gets or sets the source file line. A null value indicates that the - source file line is not known. - - - - - Represents a provider which gives source line information for a test case. Generally - consumed by an implementation of during Find operations. - - - - - Returns the source information for a test case. - - The test case to retrieve information for. - The source information, with null string and int values when the information is not available. - Note: return value should never be null, only the interior data values inside. - - - - Represents a test framework. There are two pieces to test frameworks: discovery and - execution. The two factory methods represent these two pieces. Test frameworks can - implement an empty constructor, or they can implement one that takes - if they want to be able to send diagnostic messages. - - - - - Get a test discoverer. - - The assembly from which to discover the tests. - The test discoverer. - - - - Get a test executor. - - The name of the assembly to run tests from. - The test executor. - - - - Sets the source information provider to be used during discovery. - - - - - Represents an implementation of the discovery part of a test framework. - - - - - Starts the process of finding all tests in an assembly. - - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Starts the process of finding all tests in a class. - - The fully qualified type name to find tests in. - Whether to include source file information, if possible. - The message sink to report results back to. - The options used by the test framework during discovery. - - - - Serializes a test case into string form. - - The test case to be serialized. - The serialized representation of the test case. - - - - Gets the target framework that the test assembly is linked against. - - - - - Returns the display name of the test framework that this discoverer is running tests for. - - - - - Represents an instance of that is to be used for - test discovery purposes. - - - - - This interface should not be consumed directly; instead, you should - consume - or . - - - - - Gets an option value. - - The type of the value. - The name of the value. - The value. - - - - Sets an option value. - - The type of the value. - The name of the value. - The value to be set. - - - - Represents an instance of that is to be used for - test execution purposes. - - - - - Represents an implementation of the execution part of a test framework. - - - - - De-serializes a test case. - - The string representation of the test case. - The de-serialized test case. - - - - Starts the process of running all the tests in the assembly. - - The message sink to report results back to. - The options to be used during test discovery. - The options to be used during test execution. - - - - Starts the process of running selected tests in the assembly. - - The test cases to run. - The message sink to report results back to. - The options to be used during test execution. - - - - Base message interface for all messages related to test execution. It includes the list - of test cases that are associated with this execution step. - - - - - This is the base interface for all test messages. A test message is a message that is - used to communicate the status of discovery and execution of tests. - - - - - The test cases that are associated with this message. - - - - - This represents failure information for the test runner. It encapsulates multiple sets - of exceptions so that it can provide inner exception information, including support for - . The parent indices indicate the hierarchy of the exceptions - as extracted during the failure; the 0th exception is always the single parent of the tree, - and will have an index of -1. - - - - - The fully-qualified type name of the exceptions. - - - - - The messages of the exceptions. - - - - - The stack traces of the exceptions. - - - - - The parent exception index for the exceptions; a -1 indicates that - the exception in question has no parent. - - - - - This is the base message for various types of completion that can occur during the - various phases of execution process (e.g., test case, test class, test collection, - and assembly). - - - - - The execution time (in seconds) for this execution. - - - - - The number of failing tests. - - - - - The total number of tests run. - - - - - The number of skipped tests. - - - - - Represents an endpoint for the reception of test messages. - - - - - Reports the presence of a message on the message bus. This method should - never throw exceptions. - - The message from the message bus - Return true to continue running tests, or false to stop. - - - - Base message interface for all messages related to test assemblies. - - - - - The test assembly that is associated with this message. - - - - - Base message interface for all messages related to test cases. - - - - - Base message interface for all messages related to test methods. - - - - - Base message interface for all messages related to test classes. - - - - - Base message interface for all messages related to test collections. - - - - - The test collection that is associated with this message. - - - - - The test class that is associated with this message. - - - - - The test method that is associated with this message. - - - - - The test case that is associated with this message. - - - - - Base message interface for all messages related to tests. - - - - - The test that is associated with this message. - - - - - This is the base interface for all individual test results (e.g., tests which - pass, fail, or are skipped). - - - - - The execution time of the test, in seconds. - - - - - The captured output of the test. - - - - - This message is sent during execution to indicate that the After method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the After method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a has completed executing. - - - - - The fully qualified type name of the . - - - - - This message is sent during execution to indicate that the Before method of - a is about to execute. - - - - - The fully qualified type name of the . - - - - - This message is sent when the test framework wants to report a diagnostic message - to the end user. - - - - - Gets the diagnostic message. - - - - - This message indicates that the discovery process has been completed for - the requested assembly. - - - - - This message indicates that an error has occurred in the execution process. - - - - - This message indicates that an error has occurred in test assembly cleanup. - - - - - This message indicates that the execution process has been completed for - the requested assembly. - - - - - This message indicates that the execution process is about to start for - the requested assembly. - - - - - Gets the local date and time when the test assembly execution began. - - - - - Gets a display string that describes the test execution environment. - - - - - Gets a display string which describes the test framework and version number. - - - - - This message indicates that an error has occurred during test case cleanup. - - - - - This message indicates that a test case had been found during the discovery process. - - - - - This message indicates that a test case has finished executing. - - - - - This message indicates that a test case is about to start executing. - - - - - This message indicates that an error has occurred during test class cleanup. - - - - - This message indicates that an instance of a test class has just been constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that an instance of a test class is about to be constructed. - Instance (non-static) methods of tests get a new instance of the test class for each - individual test execution; static methods do not get an instance of the test class. - - - - - This message indicates that the method was - just called on the test class for the test case that just finished executing. - - - - - This message indicates that the method is - about to be called on the test class for the test case that just finished executing. - - - - - This message indicates that a test class has finished executing (meaning, all of the - test cases in this test class have finished running). - - - - - This message indicates that a test class is about to begin running. - - - - - This message indicates that an error has occurred during test cleanup. - - - - - This message indicates that an error has occurred during test collection cleanup. - - - - - This message indicates that a test collection has just finished executing (meaning, - all the test classes in the collection has finished). - - - - - This message indicates that a test collection has is about to start executing. - - - - - This message indicates that a test has failed. - - - - - This message indicates that a test has finished executing. - - - - - Gets the time spent executing the test, in seconds. - - - - - The captured output of the test. - - - - - This message indicates that an error has occurred during test method cleanup. - - - - - This message indicates that a test method has finished executing (meaning, all - the test cases that derived from the test method have finished). - - - - - This message indicates that a test method is about to begin executing. - - - - - This message indicates that a line of output was provided for a test. - - - - - Gets the line of output. - - - - - Indicates that a test has passed. - - - - - This message indicates that a test was skipped. - - - - - The reason given for skipping the test. - - - - - This message indicates that a test is about to start executing. - - - - - Represents information about an assembly. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given assembly. - - The type of the attribute, in assembly-qualified form - The matching attributes that decorate the assembly - - - - Gets a for the given type. - - The fully qualified type name. - The if the type exists, or null if not. - - - - Gets all the types for the assembly. - - Set to true to return all types in the assembly, - or false to return only public types. - The types in the assembly. - - - - Gets the on-disk location of the assembly under test. If the assembly path is not - known (for example, in AST-based runners), you must return null. - - - This is used by the test framework wrappers to find the co-located unit test framework - assembly (f.e., xunit.dll or xunit.execution.dll). AST-based runners will need to directly create - instances of and (using the constructors that - support an explicit path to the test framework DLL) rather than relying on the - use of . - - - - - Gets the assembly name. May return a fully qualified name for assemblies found via - reflection (i.e., "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"), - or may return just assembly name only for assemblies found via source code introspection - (i.e., "mscorlib"). - - - - - Represents information about an attribute. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets the arguments passed to the constructor. - - The constructor arguments, in order - - - - Gets all the custom attributes for the given attribute. - - The type of the attribute to find, in assembly-qualified form - The matching attributes that decorate the attribute - - - - Gets a named-argument initialized value of the attribute. If there is no named argument for the given name - on this attribute, then returns default(TValue). - - The type of the argument - The name of the argument - The argument value - - - - Represents information about a method. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the method that are of the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the method - - - - Gets the types of the generic arguments for generic methods. - - The argument types. - - - - Gets information about the parameters to the method. - - The method's parameters. - - - - Converts an open generic method into a closed generic method, using the provided type arguments. - - The type arguments to be used in the generic definition. - A new that represents the closed generic method. - - - - Gets a value indicating whether the method is abstract. - - - - - Gets a value indicating whether the method is a generic definition (i.e., an open generic). - - - - - Gets a value indicating whether the method is public. - - - - - Gets a value indicating whether the method is static. - - - - - Gets the name of the method. - - - - - Gets the fully qualified type name of the return type. - - - - - Gets a value which represents the class that this method was - reflected from (i.e., equivalent to MethodInfo.ReflectedType) - - - - - Represents information about a method parameter. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - The name of the parameter. - - - - - Gets the type of the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the assembly. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the instance of the attribute, if available. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the method. - - - - - Represents a reflection-backed implementation of . - - - - - Gets the underlying for the parameter. - - - - - Represents a reflection-backed implementation of . - - - - - Represents information about a type. The primary implementation is based on runtime - reflection, but may also be implemented by runner authors to provide non-reflection-based - test discovery (for example, AST-based runners like CodeRush or Resharper). - - - - - Gets all the custom attributes for the given type. - - The type of the attribute, in assembly qualified form - The matching attributes that decorate the type - - - - Gets the generic type arguments for a generic type. - - The list of generic types. - - - - Gets a specific method. - - The name of the method. - Set to true to look for the method in both public and private. - The method. - - - - Gets all the methods in this type. - - Set to true to return all methods in the type, - or false to return only public methods. - - - - Gets the assembly this type is located in. - - - - - Gets the base type of the given type. - - - - - Gets the interfaces implemented by the given type. - - - - - Gets a value indicating whether the type is abstract. - - - - - Gets a value indicating whether the type represents a generic parameter. - - - - - Gets a value indicating whether the type is a generic type. - - - - - Gets a value indicating whether the type is sealed. - - - - - Gets a value indicating whether the type is a value type. - - - - - Gets the fully qualified type name (for non-generic parameters), or the - simple type name (for generic parameters). - - - - - Gets the underlying object. - - - - - Represents serialization support in xUnit.net. - - - - - Adds a value to the serialization. Supported value types include the built-in - intrinsics (string, int, long, float, double, and decimal, including nullable - versions of those), any class which implements ), - or arrays of any supported types. - - The key - The value - The optional type of the value - - - - Gets a value from the serialization. - - The key - The type of the value - The value, if present; null, otherwise - - - - Gets a value from the serialization. - - The key - The value, if present; default(T), otherwise - - - - Represents a single test in the system. A test case typically contains only a single test, - but may contain many if circumstances warrant it (for example, test data for a theory cannot - be pre-enumerated, so the theory yields a single test case with multiple tests). - - - - - Gets the display name of the test. - - - - - Gets the test case this test belongs to. - - - - - Represents a test assembly. - - - - - Gets the assembly that this test assembly belongs to. - - - - - Gets the full path of the configuration file name, if one is present. - May be null if there is no configuration file. - - - - - Represents a single test case in the system. This test case usually represents a single test, but in - the case of dynamically generated data for data driven tests, the test case may actually return - multiple results when run. - - - - - Gets the display name of the test case. - - - - - Gets the display text for the reason a test is being skipped; if the test - is not skipped, returns null. - - - - - Get or sets the source file name and line where the test is defined, if requested (and known). - - - - - Gets the test method this test case belongs to. - - - - - Gets the arguments that will be passed to the test method. - - - - - Gets the trait values associated with this test case. If - there are none, or the framework does not support traits, - this should return an empty dictionary (not null). This - dictionary must be treated as read-only. - - - - - Gets a unique identifier for the test case. - - - The unique identifier for a test case should be able to discriminate - among test cases, even those which are varied invocations against the - same test method (i.e., theories). Ideally, this identifier would remain - stable until such time as the developer changes some fundamental part - of the identity (assembly, class name, test name, or test data); however, - the minimum stability of the identifier must at least extend across - multiple discoveries of the same test in the same (non-recompiled) - assembly. - - - - - Represents a test class. - - - - - Gets the class that this test case is attached to. - - - - - Gets the test collection this test case belongs to. - - - - - Represents a group of test cases. Test collections form the basis of the parallelization in - xUnit.net. Test cases which are in the same test collection will not be run in parallel - against sibling tests, but will run in parallel against tests in other collections. - - - - - Gets the type that the test collection was defined with, if available; may be null - if the test collection didn't have a definition type. - - - - - Gets the display name of the test collection. - - - - - Gets the test assembly this test collection belongs to. - - - - - Gets the test collection ID. Test collection equality is determined by comparing IDs. - - - - - Represents a test method. - - - - - Gets the method associated with this test method. - - - - - Gets the test class that this test method belongs to. - - - - - Represents a class which can be used to provide test output. - - - - - Adds a line of text to the output. - - The message - - - - Formats a line of text and adds it to the output. - - The message format - The format arguments - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/xunit.abstractions.2.0.3.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/xunit.abstractions.2.0.3.nupkg deleted file mode 100644 index 487344cc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.abstractions.2.0.3/xunit.abstractions.2.0.3.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/.signature.p7s deleted file mode 100644 index df25a6d6..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.dll deleted file mode 100644 index dcba1c12..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.fixes.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.fixes.dll deleted file mode 100644 index 899e1817..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/analyzers/dotnet/cs/xunit.analyzers.fixes.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/install.ps1 b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/install.ps1 deleted file mode 100644 index a5093f86..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/install.ps1 +++ /dev/null @@ -1,287 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -if($project.Object.SupportsPackageDependencyResolution) -{ - if($project.Object.SupportsPackageDependencyResolution()) - { - # Do not install analyzers via install.ps1, instead let the project system handle it. - return - } -} - -$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers") * -Resolve - -foreach($analyzersPath in $analyzersPaths) -{ - if (Test-Path $analyzersPath) - { - # Install the language agnostic analyzers. - foreach ($analyzerFilePath in Get-ChildItem -Path "$analyzersPath\*.dll" -Exclude *.resources.dll) - { - if($project.Object.AnalyzerReferences) - { - $project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName) - } - } - } -} - -# $project.Type gives the language name like (C# or VB.NET) -$languageFolder = "" -if($project.Type -eq "C#") -{ - $languageFolder = "cs" -} -if($project.Type -eq "VB.NET") -{ - $languageFolder = "vb" -} -if($languageFolder -eq "") -{ - return -} - -foreach($analyzersPath in $analyzersPaths) -{ - # Install language specific analyzers. - $languageAnalyzersPath = join-path $analyzersPath $languageFolder - if (Test-Path $languageAnalyzersPath) - { - foreach ($analyzerFilePath in Get-ChildItem -Path "$languageAnalyzersPath\*.dll" -Exclude *.resources.dll) - { - if($project.Object.AnalyzerReferences) - { - $project.Object.AnalyzerReferences.Add($analyzerFilePath.FullName) - } - } - } -} - -# SIG # Begin signature block -# MIIqWQYJKoZIhvcNAQcCoIIqSjCCKkYCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCDgYHZy9+TDmh4W -# 248xpW0Wn32iAoV4YJJOBO0QM8IjsKCCDvQwggPFMIICraADAgECAhACrFwmagtA -# m48LefKuRiV3MA0GCSqGSIb3DQEBBQUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK -# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV -# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMDYxMTEw -# MDAwMDAwWhcNMzExMTEwMDAwMDAwWjBsMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM -# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSswKQYDVQQD -# EyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5jZSBFViBSb290IENBMIIBIjANBgkqhkiG -# 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxszlc+b71LvlLS0ypt/lgT/JzSVJtnEqw9WU -# NGeiChywX2mmQLHEt7KP0JikqUFZOtPclNY823Q4pErMTSWC90qlUxI47vNJbXGR -# fmO2q6Zfw6SE+E9iUb74xezbOJLjBuUIkQzEKEFV+8taiRV+ceg1v01yCT2+OjhQ -# W3cxG42zxyRFmqesbQAUWgS3uhPrUQqYQUEiTmVhh4FBUKZ5XIneGUpX1S7mXRxT -# LH6YzRoGFqRoc9A0BBNcoXHTWnxV215k4TeHMFYE5RG0KYAS8Xk5iKICEXwnZreI -# t3jyygqoOKsKZMK/Zl2VhMGhJR6HXRpQCyASzEG7bgtROLhLywIDAQABo2MwYTAO -# BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUsT7DaQP4 -# v0cB1JgmGggC72NkK8MwHwYDVR0jBBgwFoAUsT7DaQP4v0cB1JgmGggC72NkK8Mw -# DQYJKoZIhvcNAQEFBQADggEBABwaBpfc15yfPIhmBghXIdshR/gqZ6q/GDJ2QBBX -# wYrzetkRZY41+p78RbWe2UwxS7iR6EMsjrN4ztvjU3lx1uUhlAHaVYeaJGT2imbM -# 3pw3zag0sWmbI8ieeCIrcEPjVUcxYRnvWMWFL04w9qAxFiPI5+JlFjPLvxoboD34 -# yl6LMYtgCIktDAZcUrfE+QqY0RVfnxK+fDZjOL1EpH/kJisKxJdpDemM4sAQV7jI -# dhKRVfJIadi8KgJbD0TUIDHb9LpwJl2QYJ68SxcJL7TLHkNoyQcnwdJc9+ohuWgS -# nDycv578gFybY83sR6olJ2egN/MAgn1U16n46S4To3foH0owggSRMIIDeaADAgEC -# AhAHsEGNpR4UjDMbvN63E4MjMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVT -# MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j -# b20xKzApBgNVBAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0Ew -# HhcNMTgwNDI3MTI0MTU5WhcNMjgwNDI3MTI0MTU5WjBaMQswCQYDVQQGEwJVUzEY -# MBYGA1UEChMPLk5FVCBGb3VuZGF0aW9uMTEwLwYDVQQDEyguTkVUIEZvdW5kYXRp -# b24gUHJvamVjdHMgQ29kZSBTaWduaW5nIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC -# AQ8AMIIBCgKCAQEAwQqv4aI0CI20XeYqTTZmyoxsSQgcCBGQnXnufbuDLhAB6GoT -# NB7HuEhNSS8ftV+6yq8GztBzYAJ0lALdBjWypMfL451/84AO5ZiZB3V7MB2uxgWo -# cV1ekDduU9bm1Q48jmR4SVkLItC+oQO/FIA2SBudVZUvYKeCJS5Ri9ibV7La4oo7 -# BJChFiP8uR+v3OU33dgm5BBhWmth4oTyq22zCfP3NO6gBWEIPFR5S+KcefUTYmn2 -# o7IvhvxzJsMCrNH1bxhwOyMl+DQcdWiVPuJBKDOO/hAKIxBG4i6ryQYBaKdhDgaA -# NSCik0UgZasz8Qgl8n0A73+dISPumD8L/4mdywIDAQABo4IBPzCCATswHQYDVR0O -# BBYEFMtck66Im/5Db1ZQUgJtePys4bFaMB8GA1UdIwQYMBaAFLE+w2kD+L9HAdSY -# JhoIAu9jZCvDMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDAzAS -# BgNVHRMBAf8ECDAGAQH/AgEAMDQGCCsGAQUFBwEBBCgwJjAkBggrBgEFBQcwAYYY -# aHR0cDovL29jc3AuZGlnaWNlcnQuY29tMEsGA1UdHwREMEIwQKA+oDyGOmh0dHA6 -# Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEhpZ2hBc3N1cmFuY2VFVlJvb3RD -# QS5jcmwwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8v -# d3d3LmRpZ2ljZXJ0LmNvbS9DUFMwDQYJKoZIhvcNAQELBQADggEBALNGxKTz6gq6 -# clMF01GjC3RmJ/ZAoK1V7rwkqOkY3JDl++v1F4KrFWEzS8MbZsI/p4W31Eketazo -# Nxy23RT0zDsvJrwEC3R+/MRdkB7aTecsYmMeMHgtUrl3xEO3FubnQ0kKEU/HBCTd -# hR14GsQEccQQE6grFVlglrew+FzehWUu3SUQEp9t+iWpX/KfviDWx0H1azilMX15 -# lzJUxK7kCzmflrk5jCOCjKqhOdGJoQqstmwP+07qXO18bcCzEC908P+TYkh0z9gV -# rlj7tyW9K9zPVPJZsLRaBp/QjMcH65o9Y1hD1uWtFQYmbEYkT1K9tuXHtQYx1Rpf -# /dC8Nbl4iukwggaSMIIFeqADAgECAhALZYHUD3H36++YNL7DL2PeMA0GCSqGSIb3 -# DQEBCwUAMFoxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw8uTkVUIEZvdW5kYXRpb24x -# MTAvBgNVBAMTKC5ORVQgRm91bmRhdGlvbiBQcm9qZWN0cyBDb2RlIFNpZ25pbmcg -# Q0EwHhcNMjEwMzA1MDAwMDAwWhcNMjQwNjAxMjM1OTU5WjCBjjEUMBIGA1UEBRML -# NjAzIDM4OSAwNjgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJXQTEQMA4GA1UEBxMH -# UmVkbW9uZDEkMCIGA1UEChMbeFVuaXQubmV0ICguTkVUIEZvdW5kYXRpb24pMSQw -# IgYDVQQDExt4VW5pdC5uZXQgKC5ORVQgRm91bmRhdGlvbikwggIiMA0GCSqGSIb3 -# DQEBAQUAA4ICDwAwggIKAoICAQC7Zs6Ng5KXq1e1R/ZpLG5l1xt6sUmY4GqfL7nB -# gQBpHpe6p7om04J6z5FaBLQRscDOo90StsUtolHAVuIhPBxxbBusJRiB6hHtHyaS -# e5rRsoKVzTQqDOxzrw5HIiq1/SFqJfT5vKTmfNDsFBVNfTbeNF8W0CScuG07rQeu -# gEc3vmmKQjBXl8RwuIlQUkhgmkh5g1A71ipibSvb5XsiZY+nz3lksL/69meWjvOI -# LZbD4TcI1MlAZbZliNfrGJpRAJk2KHN+E5+Lz8rsZMnOvl14TeiWh7tX5CUHB17A -# WWZMoRCGuSpvZ0nwELjYRO+huZTRrTGM/1iTK/xJ08TIK0ouuyihHTOMuzuprpXu -# JEKJapgQ0oAIDM5wGuxJIgcrlgLdjeg9qR7Qgpk80OFDFCt22fMxPKWYUrvaN9CP -# 1qUvzU0csEaMGbqaXvDxW4Jh5qMq6stiD9u1ZlbQXLd7cGgdLFZkG2SHYGRlsLSJ -# CCiA+xhFpyq6paLwByVyiRomN2RoKziR2yIFy04hHt1dxdCxstLU7IYepMPD2hq8 -# LrQsJKtLs3oukf9hGm9mg/Ob6hfjYKO9WeFBoArZJJsAy+3yhOOvXakAeZyAaZKL -# 2W+ytTIBkEwOvpVxZoV1M0acQ1B9NlaVO29RJ6EQlWdcsN9+HA2tcJ3fSGAai+bf -# I4TJiQIDAQABo4ICHTCCAhkwHwYDVR0jBBgwFoAUy1yTroib/kNvVlBSAm14/Kzh -# sVowHQYDVR0OBBYEFE1FuBWTKAW2LOHLbCt+NrwdAW09MDQGA1UdEQQtMCugKQYI -# KwYBBQUHCAOgHTAbDBlVUy1XQVNISU5HVE9OLTYwMyAzODkgMDY4MA4GA1UdDwEB -# /wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzCBmQYDVR0fBIGRMIGOMEWgQ6BB -# hj9odHRwOi8vY3JsMy5kaWdpY2VydC5jb20vTkVURm91bmRhdGlvblByb2plY3Rz -# Q29kZVNpZ25pbmdDQS5jcmwwRaBDoEGGP2h0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNv -# bS9ORVRGb3VuZGF0aW9uUHJvamVjdHNDb2RlU2lnbmluZ0NBLmNybDBLBgNVHSAE -# RDBCMDYGCWCGSAGG/WwDATApMCcGCCsGAQUFBwIBFhtodHRwOi8vd3d3LmRpZ2lj -# ZXJ0LmNvbS9DUFMwCAYGZ4EMAQQBMIGEBggrBgEFBQcBAQR4MHYwJAYIKwYBBQUH -# MAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTBOBggrBgEFBQcwAoZCaHR0cDov -# L2NhY2VydHMuZGlnaWNlcnQuY29tL05FVEZvdW5kYXRpb25Qcm9qZWN0c0NvZGVT -# aWduaW5nQ0EuY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggEBAI1A -# ruHc8L6TuwQC561WdwZ67LcwTmL26+W6d4m8WEXmM1RCms1Ipi0XuGL4ts9+dQbO -# yM+zB+OcTEuZpD4XuAkvthV1A5GpUJZa2hnbMgf7FeknluJF4KOpGT9ABn10tAUP -# LYEqGZONKZnJB5yjVXEIbfNrOp6WRJCQOvZSKE2Oj9CfJ6KZmaJd/gXfQzPR6oPT -# +qL/vxPvl+iyM7Cnj8e7v4GeYhKvlbnA2q5/FiBKLCNMq2B7VqNDr69wCfYgV0gi -# A19U/37d88Sz8dfJwXpAiNzrYfgrdBWlZpq8PHkKjqlCRxOr71ESnWUv7Q6Qneae -# BznvWh02DlXUPGIWMCQxghq7MIIatwIBATBuMFoxCzAJBgNVBAYTAlVTMRgwFgYD -# VQQKEw8uTkVUIEZvdW5kYXRpb24xMTAvBgNVBAMTKC5ORVQgRm91bmRhdGlvbiBQ -# cm9qZWN0cyBDb2RlIFNpZ25pbmcgQ0ECEAtlgdQPcffr75g0vsMvY94wDQYJYIZI -# AWUDBAIBBQCggbQwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGC -# NwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEIACHDei4t/O5m6LT -# 0JqGI9TX62nALIAjyXHii7mRpaeKMEgGCisGAQQBgjcCAQwxOjA4oBSAEgB4AFUA -# bgBpAHQALgBuAGUAdKEggB5odHRwczovL2dpdGh1Yi5jb20veHVuaXQveHVuaXQw -# DQYJKoZIhvcNAQEBBQAEggIAMl1v0/GKYowMXQQlN3ul7MniMeHPVVqTii70Uotl -# dAGo7Yo7wzsQ3xs+qJPtgopOOcJW+pUrZfRS7+aeKgqUaaK41boZd9jEua/CzpP4 -# SMalaqArrW7pnlUZl6TY+hn6PFC45BjAsZ9O7m0ixXJ7PjKdtljQwd5eztZKCy7m -# X+vw0WuQOIoo3fy1GP8u+WaQUHwbEeH9m/mrxWAql/69ecL9MRcx+5TZVYPkRzaz -# AI3dJ6GqeoOgX0mvpUdsAc/0L/GTSWiIeMrsZmdoYSmPyGCweM/ulqUuWU6krBnW -# SVhlk4+mHuDDA7gbanJhoY/XVX8+9YlfRl2t6pTGjSnUE0uUYVo4Ckno7YiSYXHc -# odo10APN32RXgFOpVZQXagFlMqr+aJnF4aDeFkECmAk1QBzAVrmIjO4YY47km2YT -# P2gtTe3x/gzd4oJgAqHRCDHBmIrpcIz4rBE/f1dHbKa9zj5tdI0OM7UvZfMehujo -# 9gXKgTgzYpXnrOGAHQWQlTHdtNPzhhqKZRfJX/zVhn5C+/AJViIVsNfhd85d8llp -# Vt75vDtPHBtyE1gOCI8c4yV5iBEtdaspnFRutQt3Q3T8kPd/3xu0U7H0Joj/du11 -# ia555LenYTeKT3gZQTK1szRqdyKlHX1CLqLtMoqRwkjxpfiePEe6m1X0WhE6kLCX -# NHOhghdnMIIXYwYKKwYBBAGCNwMDATGCF1MwghdPBgkqhkiG9w0BBwKgghdAMIIX -# PAIBAzEPMA0GCWCGSAFlAwQCAQUAMHcGCyqGSIb3DQEJEAEEoGgEZjBkAgEBBglg -# hkgBhv1sBwEwMTANBglghkgBZQMEAgEFAAQggIY89ItGBGUR0+smwIAwRW5xZe4D -# Qa3S8HaDstC6XH4CEE2DONvguWli9J1VpRGbTcoYDzIwMjIwODAxMjAxNjU5WqCC -# EzEwggbGMIIErqADAgECAhAKekqInsmZQpAGYzhNhpedMA0GCSqGSIb3DQEBCwUA -# MGMxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwgSW5jLjE7MDkGA1UE -# AxMyRGlnaUNlcnQgVHJ1c3RlZCBHNCBSU0E0MDk2IFNIQTI1NiBUaW1lU3RhbXBp -# bmcgQ0EwHhcNMjIwMzI5MDAwMDAwWhcNMzMwMzE0MjM1OTU5WjBMMQswCQYDVQQG -# EwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJDAiBgNVBAMTG0RpZ2lDZXJ0 -# IFRpbWVzdGFtcCAyMDIyIC0gMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -# ggIBALkqliOmXLxf1knwFYIY9DPuzFxs4+AlLtIx5DxArvurxON4XX5cNur1JY1D -# o4HrOGP5PIhp3jzSMFENMQe6Rm7po0tI6IlBfw2y1vmE8Zg+C78KhBJxbKFiJgHT -# zsNs/aw7ftwqHKm9MMYW2Nq867Lxg9GfzQnFuUFqRUIjQVr4YNNlLD5+Xr2Wp/D8 -# sfT0KM9CeR87x5MHaGjlRDRSXw9Q3tRZLER0wDJHGVvimC6P0Mo//8ZnzzyTlU6E -# 6XYYmJkRFMUrDKAz200kheiClOEvA+5/hQLJhuHVGBS3BEXz4Di9or16cZjsFef9 -# LuzSmwCKrB2NO4Bo/tBZmCbO4O2ufyguwp7gC0vICNEyu4P6IzzZ/9KMu/dDI9/n -# w1oFYn5wLOUrsj1j6siugSBrQ4nIfl+wGt0ZvZ90QQqvuY4J03ShL7BUdsGQT5Ts -# hmH/2xEvkgMwzjC3iw9dRLNDHSNQzZHXL537/M2xwafEDsTvQD4ZOgLUMalpoEn5 -# deGb6GjkagyP6+SxIXuGZ1h+fx/oK+QUshbWgaHK2jCQa+5vdcCwNiayCDv/vb5/ -# bBMY38ZtpHlJrYt/YYcFaPfUcONCleieu5tLsuK2QT3nr6caKMmtYbCgQRgZTu1H -# m2GV7T4LYVrqPnqYklHNP8lE54CLKUJy93my3YTqJ+7+fXprAgMBAAGjggGLMIIB -# hzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggr -# BgEFBQcDCDAgBgNVHSAEGTAXMAgGBmeBDAEEAjALBglghkgBhv1sBwEwHwYDVR0j -# BBgwFoAUuhbZbU2FL3MpdpovdYxqII+eyG8wHQYDVR0OBBYEFI1kt4kh/lZYRIRh -# p+pvHDaP3a8NMFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwzLmRpZ2ljZXJ0 -# LmNvbS9EaWdpQ2VydFRydXN0ZWRHNFJTQTQwOTZTSEEyNTZUaW1lU3RhbXBpbmdD -# QS5jcmwwgZAGCCsGAQUFBwEBBIGDMIGAMCQGCCsGAQUFBzABhhhodHRwOi8vb2Nz -# cC5kaWdpY2VydC5jb20wWAYIKwYBBQUHMAKGTGh0dHA6Ly9jYWNlcnRzLmRpZ2lj -# ZXJ0LmNvbS9EaWdpQ2VydFRydXN0ZWRHNFJTQTQwOTZTSEEyNTZUaW1lU3RhbXBp -# bmdDQS5jcnQwDQYJKoZIhvcNAQELBQADggIBAA0tI3Sm0fX46kuZPwHk9gzkrxad -# 2bOMl4IpnENvAS2rOLVwEb+EGYs/XeWGT76TOt4qOVo5TtiEWaW8G5iq6Gzv0Uhp -# GThbz4k5HXBw2U7fIyJs1d/2WcuhwupMdsqh3KErlribVakaa33R9QIJT4LWpXOI -# xJiA3+5JlbezzMWn7g7h7x44ip/vEckxSli23zh8y/pc9+RTv24KfH7X3pjVKWWJ -# D6KcwGX0ASJlx+pedKZbNZJQfPQXpodkTz5GiRZjIGvL8nvQNeNKcEiptucdYL0E -# IhUlcAZyqUQ7aUcR0+7px6A+TxC5MDbk86ppCaiLfmSiZZQR+24y8fW7OK3NwJMR -# 1TJ4Sks3KkzzXNy2hcC7cDBVeNaY/lRtf3GpSBp43UZ3Lht6wDOK+EoojBKoc88t -# +dMj8p4Z4A2UKKDr2xpRoJWCjihrpM6ddt6pc6pIallDrl/q+A8GQp3fBmiW/iqg -# dFtjZt5rLLh4qk1wbfAs8QcVfjW05rUMopml1xVrNQ6F1uAszOAMJLh8UgsemXzv -# yMjFjFhpr6s94c/MfRWuFL+Kcd/Kl7HYR+ocheBFThIcFClYzG/Tf8u+wQ5KbyCc -# rtlzMlkI5y2SoRoR/jKYpl0rl+CL05zMbbUNrkdjOEcXW28T2moQbh9Jt0RbtAgK -# h1pZBHYRoad3AhMcMIIGrjCCBJagAwIBAgIQBzY3tyRUfNhHrP0oZipeWzANBgkq -# hkiG9w0BAQsFADBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5j -# MRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBU -# cnVzdGVkIFJvb3QgRzQwHhcNMjIwMzIzMDAwMDAwWhcNMzcwMzIyMjM1OTU5WjBj -# MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xOzA5BgNVBAMT -# MkRpZ2lDZXJ0IFRydXN0ZWQgRzQgUlNBNDA5NiBTSEEyNTYgVGltZVN0YW1waW5n -# IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxoY1BkmzwT1ySVFV -# xyUDxPKRN6mXUaHW0oPRnkyibaCwzIP5WvYRoUQVQl+kiPNo+n3znIkLf50fng8z -# H1ATCyZzlm34V6gCff1DtITaEfFzsbPuK4CEiiIY3+vaPcQXf6sZKz5C3GeO6lE9 -# 8NZW1OcoLevTsbV15x8GZY2UKdPZ7Gnf2ZCHRgB720RBidx8ald68Dd5n12sy+iE -# ZLRS8nZH92GDGd1ftFQLIWhuNyG7QKxfst5Kfc71ORJn7w6lY2zkpsUdzTYNXNXm -# G6jBZHRAp8ByxbpOH7G1WE15/tePc5OsLDnipUjW8LAxE6lXKZYnLvWHpo9OdhVV -# JnCYJn+gGkcgQ+NDY4B7dW4nJZCYOjgRs/b2nuY7W+yB3iIU2YIqx5K/oN7jPqJz -# +ucfWmyU8lKVEStYdEAoq3NDzt9KoRxrOMUp88qqlnNCaJ+2RrOdOqPVA+C/8KI8 -# ykLcGEh/FDTP0kyr75s9/g64ZCr6dSgkQe1CvwWcZklSUPRR8zZJTYsg0ixXNXkr -# qPNFYLwjjVj33GHek/45wPmyMKVM1+mYSlg+0wOI/rOP015LdhJRk8mMDDtbiiKo -# wSYI+RQQEgN9XyO7ZONj4KbhPvbCdLI/Hgl27KtdRnXiYKNYCQEoAA6EVO7O6V3I -# XjASvUaetdN2udIOa5kM0jO0zbECAwEAAaOCAV0wggFZMBIGA1UdEwEB/wQIMAYB -# Af8CAQAwHQYDVR0OBBYEFLoW2W1NhS9zKXaaL3WMaiCPnshvMB8GA1UdIwQYMBaA -# FOzX44LScV1kTN8uZz/nupiuHA9PMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAK -# BggrBgEFBQcDCDB3BggrBgEFBQcBAQRrMGkwJAYIKwYBBQUHMAGGGGh0dHA6Ly9v -# Y3NwLmRpZ2ljZXJ0LmNvbTBBBggrBgEFBQcwAoY1aHR0cDovL2NhY2VydHMuZGln -# aWNlcnQuY29tL0RpZ2lDZXJ0VHJ1c3RlZFJvb3RHNC5jcnQwQwYDVR0fBDwwOjA4 -# oDagNIYyaHR0cDovL2NybDMuZGlnaWNlcnQuY29tL0RpZ2lDZXJ0VHJ1c3RlZFJv -# b3RHNC5jcmwwIAYDVR0gBBkwFzAIBgZngQwBBAIwCwYJYIZIAYb9bAcBMA0GCSqG -# SIb3DQEBCwUAA4ICAQB9WY7Ak7ZvmKlEIgF+ZtbYIULhsBguEE0TzzBTzr8Y+8dQ -# XeJLKftwig2qKWn8acHPHQfpPmDI2AvlXFvXbYf6hCAlNDFnzbYSlm/EUExiHQwI -# gqgWvalWzxVzjQEiJc6VaT9Hd/tydBTX/6tPiix6q4XNQ1/tYLaqT5Fmniye4Iqs -# 5f2MvGQmh2ySvZ180HAKfO+ovHVPulr3qRCyXen/KFSJ8NWKcXZl2szwcqMj+sAn -# gkSumScbqyQeJsG33irr9p6xeZmBo1aGqwpFyd/EjaDnmPv7pp1yr8THwcFqcdnG -# E4AJxLafzYeHJLtPo0m5d2aR8XKc6UsCUqc3fpNTrDsdCEkPlM05et3/JWOZJyw9 -# P2un8WbDQc1PtkCbISFA0LcTJM3cHXg65J6t5TRxktcma+Q4c6umAU+9Pzt4rUyt -# +8SVe+0KXzM5h0F4ejjpnOHdI/0dKNPH+ejxmF/7K9h+8kaddSweJywm228Vex4Z -# iza4k9Tm8heZWcpw8De/mADfIBZPJ/tgZxahZrrdVcA6KYawmKAr7ZVBtzrVFZgx -# tGIJDwq9gdkT/r+k0fNX2bwE+oLeMt8EifAAzV3C+dAjfwAL5HYCJtnwZXZCpimH -# CUcr5n8apIUP/JiW9lVUKx+A+sDyDivl1vupL0QVSucTDh3bNzgaoSv27dZ8/DCC -# BbEwggSZoAMCAQICEAEkCvseOAuKFvFLcZ3008AwDQYJKoZIhvcNAQEMBQAwZTEL -# MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 -# LmRpZ2ljZXJ0LmNvbTEkMCIGA1UEAxMbRGlnaUNlcnQgQXNzdXJlZCBJRCBSb290 -# IENBMB4XDTIyMDYwOTAwMDAwMFoXDTMxMTEwOTIzNTk1OVowYjELMAkGA1UEBhMC -# VVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0 -# LmNvbTEhMB8GA1UEAxMYRGlnaUNlcnQgVHJ1c3RlZCBSb290IEc0MIICIjANBgkq -# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAv+aQc2jeu+RdSjwwIjBpM+zCpyUuySE9 -# 8orYWcLhKac9WKt2ms2uexuEDcQwH/MbpDgW61bGl20dq7J58soR0uRf1gU8Ug9S -# H8aeFaV+vp+pVxZZVXKvaJNwwrK6dZlqczKU0RBEEC7fgvMHhOZ0O21x4i0MG+4g -# 1ckgHWMpLc7sXk7Ik/ghYZs06wXGXuxbGrzryc/NrDRAX7F6Zu53yEioZldXn1RY -# jgwrt0+nMNlW7sp7XeOtyU9e5TXnMcvak17cjo+A2raRmECQecN4x7axxLVqGDgD -# EI3Y1DekLgV9iPWCPhCRcKtVgkEy19sEcypukQF8IUzUvK4bA3VdeGbZOjFEmjNA -# vwjXWkmkwuapoGfdpCe8oU85tRFYF/ckXEaPZPfBaYh2mHY9WV1CdoeJl2l6SPDg -# ohIbZpp0yt5LHucOY67m1O+SkjqePdwA5EUlibaaRBkrfsCUtNJhbesz2cXfSwQA -# zH0clcOP9yGyshG3u3/y1YxwLEFgqrFjGESVGnZifvaAsPvoZKYz0YkH4b235kOk -# GLimdwHhD5QMIR2yVCkliWzlDlJRR3S+Jqy2QXXeeqxfjT/JvNNBERJb5RBQ6zHF -# ynIWIgnffEx1P2PsIV/EIFFrb7GrhotPwtZFX50g/KEexcCPorF+CiaZ9eRpL5gd -# LfXZqbId5RsCAwEAAaOCAV4wggFaMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -# FOzX44LScV1kTN8uZz/nupiuHA9PMB8GA1UdIwQYMBaAFEXroq/0ksuCMS1Ri6en -# IZ3zbcgPMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDCDB5Bggr -# BgEFBQcBAQRtMGswJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNv -# bTBDBggrBgEFBQcwAoY3aHR0cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0RpZ2lD -# ZXJ0QXNzdXJlZElEUm9vdENBLmNydDBFBgNVHR8EPjA8MDqgOKA2hjRodHRwOi8v -# Y3JsMy5kaWdpY2VydC5jb20vRGlnaUNlcnRBc3N1cmVkSURSb290Q0EuY3JsMCAG -# A1UdIAQZMBcwCAYGZ4EMAQQCMAsGCWCGSAGG/WwHATANBgkqhkiG9w0BAQwFAAOC -# AQEAmhYCpQHvgfsNtFiyeK2oIxnZczfaYJ5R18v4L0C5ox98QE4zPpA854kBdYXo -# YnsdVuBxut5exje8eVxiAE34SXpRTQYy88XSAConIOqJLhU54Cw++HV8LIJBYTUP -# I9DtNZXSiJUpQ8vgplgQfFOOn0XJIDcUwO0Zun53OdJUlsemEd80M/Z1UkJLHJ2N -# ltWVbEcSFCRfJkH6Gka93rDlkUcDrBgIy8vbZol/K5xlv743Tr4t851Kw8zMR17I -# lZWt0cu7KgYg+T9y6jbrRXKSeil7FAM8+03WSHF6EBGKCHTNbBsEXNKKlQN2UVBT -# 1i73SkbDrhAscUywh7YnN0RgRDGCA3YwggNyAgEBMHcwYzELMAkGA1UEBhMCVVMx -# FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMTswOQYDVQQDEzJEaWdpQ2VydCBUcnVz -# dGVkIEc0IFJTQTQwOTYgU0hBMjU2IFRpbWVTdGFtcGluZyBDQQIQCnpKiJ7JmUKQ -# BmM4TYaXnTANBglghkgBZQMEAgEFAKCB0TAaBgkqhkiG9w0BCQMxDQYLKoZIhvcN -# AQkQAQQwHAYJKoZIhvcNAQkFMQ8XDTIyMDgwMTIwMTY1OVowKwYLKoZIhvcNAQkQ -# AgwxHDAaMBgwFgQUhQjzhlFcs9MHfba0t8B/G0peQd4wLwYJKoZIhvcNAQkEMSIE -# II1N2tN+mzp3xWXYrh10LwYKjB8/bZezOiOPJXckPZ0MMDcGCyqGSIb3DQEJEAIv -# MSgwJjAkMCIEIJ2mkBXDScbBiXhFujWCrXDIj6QpO9tqvpwr0lOSeeY7MA0GCSqG -# SIb3DQEBAQUABIICAE6K/gQMmEYyDxY5pqnQnulLpYeyT7LBhQ+hMs5xfqineRYo -# ncMT5E2tmz7s4xX6P0zsV5OA09kRHwAxHBQjyUtapRx/tpjZS4asboH9sdWfd31K -# 58RRAlYJu2wQ0saSdnmRIwM2clWTX8xOxBKqTZ3oepmnSxvKXAWW4C/Mkn+BQVN1 -# 8aR1FVgqQQS2xSkFiqm593B6TADApI0ImwDg7GK9ae62N3EKvPEuhTqi7rj9qGza -# FXYm0518s1+foJ63d2Hn6Iww1TrEaJkm/ZyZWx67Os098mZ8wMubBG0lGr07yKq+ -# Ut5JYPAjAlFnIhhrxYOUgARwR8W0ckGayxtuDdjIqsE4u43r7qYX1amdPAOs25HA -# ObDf3+mLti97R7namLRhikDx4GU8dresdhc6W/DRputpeJs5WlU5eQu5CzKjYPlS -# 8HG9PfT/i9nF2d3l6/VF4R8Hep5ik/DsaR2LCH7wHyVnO05l1sNUIx5OGC5KdUW9 -# OCqoOLghjEtZ5P1qmyMzgCeBw1vCANAIVdJK0px0474ubhmK+1/2RBRw2l/pPAt3 -# c7DSaKAPdCZO4zeemSNmaJS0x8Tw+hhYXVAHPOifiSnnjim42IiGsiQIjepUTZ3b -# KkkouuQJ/00jzbFgxywNrEV7nf7umRfTrnvziht6mmvgjJCKFHKBog16LFp2 -# SIG # End signature block diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/uninstall.ps1 b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/uninstall.ps1 deleted file mode 100644 index 428f6e11..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/tools/uninstall.ps1 +++ /dev/null @@ -1,294 +0,0 @@ -param($installPath, $toolsPath, $package, $project) - -if($project.Object.SupportsPackageDependencyResolution) -{ - if($project.Object.SupportsPackageDependencyResolution()) - { - # Do not uninstall analyzers via uninstall.ps1, instead let the project system handle it. - return - } -} - -$analyzersPaths = Join-Path (Join-Path (Split-Path -Path $toolsPath -Parent) "analyzers") * -Resolve - -foreach($analyzersPath in $analyzersPaths) -{ - # Uninstall the language agnostic analyzers. - if (Test-Path $analyzersPath) - { - foreach ($analyzerFilePath in Get-ChildItem -Path "$analyzersPath\*.dll" -Exclude *.resources.dll) - { - if($project.Object.AnalyzerReferences) - { - $project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName) - } - } - } -} - -# $project.Type gives the language name like (C# or VB.NET) -$languageFolder = "" -if($project.Type -eq "C#") -{ - $languageFolder = "cs" -} -if($project.Type -eq "VB.NET") -{ - $languageFolder = "vb" -} -if($languageFolder -eq "") -{ - return -} - -foreach($analyzersPath in $analyzersPaths) -{ - # Uninstall language specific analyzers. - $languageAnalyzersPath = join-path $analyzersPath $languageFolder - if (Test-Path $languageAnalyzersPath) - { - foreach ($analyzerFilePath in Get-ChildItem -Path "$languageAnalyzersPath\*.dll" -Exclude *.resources.dll) - { - if($project.Object.AnalyzerReferences) - { - try - { - $project.Object.AnalyzerReferences.Remove($analyzerFilePath.FullName) - } - catch - { - - } - } - } - } -} - -# SIG # Begin signature block -# MIIqWQYJKoZIhvcNAQcCoIIqSjCCKkYCAQExDzANBglghkgBZQMEAgEFADB5Bgor -# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG -# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCA53zox7c2stsMy -# X7H3RW/uVkbg31U/o4iwNrdRpkfPLqCCDvQwggPFMIICraADAgECAhACrFwmagtA -# m48LefKuRiV3MA0GCSqGSIb3DQEBBQUAMGwxCzAJBgNVBAYTAlVTMRUwEwYDVQQK -# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xKzApBgNV -# BAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0EwHhcNMDYxMTEw -# MDAwMDAwWhcNMzExMTEwMDAwMDAwWjBsMQswCQYDVQQGEwJVUzEVMBMGA1UEChMM -# RGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSswKQYDVQQD -# EyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5jZSBFViBSb290IENBMIIBIjANBgkqhkiG -# 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxszlc+b71LvlLS0ypt/lgT/JzSVJtnEqw9WU -# NGeiChywX2mmQLHEt7KP0JikqUFZOtPclNY823Q4pErMTSWC90qlUxI47vNJbXGR -# fmO2q6Zfw6SE+E9iUb74xezbOJLjBuUIkQzEKEFV+8taiRV+ceg1v01yCT2+OjhQ -# W3cxG42zxyRFmqesbQAUWgS3uhPrUQqYQUEiTmVhh4FBUKZ5XIneGUpX1S7mXRxT -# LH6YzRoGFqRoc9A0BBNcoXHTWnxV215k4TeHMFYE5RG0KYAS8Xk5iKICEXwnZreI -# t3jyygqoOKsKZMK/Zl2VhMGhJR6HXRpQCyASzEG7bgtROLhLywIDAQABo2MwYTAO -# BgNVHQ8BAf8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAdBgNVHQ4EFgQUsT7DaQP4 -# v0cB1JgmGggC72NkK8MwHwYDVR0jBBgwFoAUsT7DaQP4v0cB1JgmGggC72NkK8Mw -# DQYJKoZIhvcNAQEFBQADggEBABwaBpfc15yfPIhmBghXIdshR/gqZ6q/GDJ2QBBX -# wYrzetkRZY41+p78RbWe2UwxS7iR6EMsjrN4ztvjU3lx1uUhlAHaVYeaJGT2imbM -# 3pw3zag0sWmbI8ieeCIrcEPjVUcxYRnvWMWFL04w9qAxFiPI5+JlFjPLvxoboD34 -# yl6LMYtgCIktDAZcUrfE+QqY0RVfnxK+fDZjOL1EpH/kJisKxJdpDemM4sAQV7jI -# dhKRVfJIadi8KgJbD0TUIDHb9LpwJl2QYJ68SxcJL7TLHkNoyQcnwdJc9+ohuWgS -# nDycv578gFybY83sR6olJ2egN/MAgn1U16n46S4To3foH0owggSRMIIDeaADAgEC -# AhAHsEGNpR4UjDMbvN63E4MjMA0GCSqGSIb3DQEBCwUAMGwxCzAJBgNVBAYTAlVT -# MRUwEwYDVQQKEwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5j -# b20xKzApBgNVBAMTIkRpZ2lDZXJ0IEhpZ2ggQXNzdXJhbmNlIEVWIFJvb3QgQ0Ew -# HhcNMTgwNDI3MTI0MTU5WhcNMjgwNDI3MTI0MTU5WjBaMQswCQYDVQQGEwJVUzEY -# MBYGA1UEChMPLk5FVCBGb3VuZGF0aW9uMTEwLwYDVQQDEyguTkVUIEZvdW5kYXRp -# b24gUHJvamVjdHMgQ29kZSBTaWduaW5nIENBMIIBIjANBgkqhkiG9w0BAQEFAAOC -# AQ8AMIIBCgKCAQEAwQqv4aI0CI20XeYqTTZmyoxsSQgcCBGQnXnufbuDLhAB6GoT -# NB7HuEhNSS8ftV+6yq8GztBzYAJ0lALdBjWypMfL451/84AO5ZiZB3V7MB2uxgWo -# cV1ekDduU9bm1Q48jmR4SVkLItC+oQO/FIA2SBudVZUvYKeCJS5Ri9ibV7La4oo7 -# BJChFiP8uR+v3OU33dgm5BBhWmth4oTyq22zCfP3NO6gBWEIPFR5S+KcefUTYmn2 -# o7IvhvxzJsMCrNH1bxhwOyMl+DQcdWiVPuJBKDOO/hAKIxBG4i6ryQYBaKdhDgaA -# NSCik0UgZasz8Qgl8n0A73+dISPumD8L/4mdywIDAQABo4IBPzCCATswHQYDVR0O -# BBYEFMtck66Im/5Db1ZQUgJtePys4bFaMB8GA1UdIwQYMBaAFLE+w2kD+L9HAdSY -# JhoIAu9jZCvDMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDAzAS -# BgNVHRMBAf8ECDAGAQH/AgEAMDQGCCsGAQUFBwEBBCgwJjAkBggrBgEFBQcwAYYY -# aHR0cDovL29jc3AuZGlnaWNlcnQuY29tMEsGA1UdHwREMEIwQKA+oDyGOmh0dHA6 -# Ly9jcmwzLmRpZ2ljZXJ0LmNvbS9EaWdpQ2VydEhpZ2hBc3N1cmFuY2VFVlJvb3RD -# QS5jcmwwPQYDVR0gBDYwNDAyBgRVHSAAMCowKAYIKwYBBQUHAgEWHGh0dHBzOi8v -# d3d3LmRpZ2ljZXJ0LmNvbS9DUFMwDQYJKoZIhvcNAQELBQADggEBALNGxKTz6gq6 -# clMF01GjC3RmJ/ZAoK1V7rwkqOkY3JDl++v1F4KrFWEzS8MbZsI/p4W31Eketazo -# Nxy23RT0zDsvJrwEC3R+/MRdkB7aTecsYmMeMHgtUrl3xEO3FubnQ0kKEU/HBCTd -# hR14GsQEccQQE6grFVlglrew+FzehWUu3SUQEp9t+iWpX/KfviDWx0H1azilMX15 -# lzJUxK7kCzmflrk5jCOCjKqhOdGJoQqstmwP+07qXO18bcCzEC908P+TYkh0z9gV -# rlj7tyW9K9zPVPJZsLRaBp/QjMcH65o9Y1hD1uWtFQYmbEYkT1K9tuXHtQYx1Rpf -# /dC8Nbl4iukwggaSMIIFeqADAgECAhALZYHUD3H36++YNL7DL2PeMA0GCSqGSIb3 -# DQEBCwUAMFoxCzAJBgNVBAYTAlVTMRgwFgYDVQQKEw8uTkVUIEZvdW5kYXRpb24x -# MTAvBgNVBAMTKC5ORVQgRm91bmRhdGlvbiBQcm9qZWN0cyBDb2RlIFNpZ25pbmcg -# Q0EwHhcNMjEwMzA1MDAwMDAwWhcNMjQwNjAxMjM1OTU5WjCBjjEUMBIGA1UEBRML -# NjAzIDM4OSAwNjgxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJXQTEQMA4GA1UEBxMH -# UmVkbW9uZDEkMCIGA1UEChMbeFVuaXQubmV0ICguTkVUIEZvdW5kYXRpb24pMSQw -# IgYDVQQDExt4VW5pdC5uZXQgKC5ORVQgRm91bmRhdGlvbikwggIiMA0GCSqGSIb3 -# DQEBAQUAA4ICDwAwggIKAoICAQC7Zs6Ng5KXq1e1R/ZpLG5l1xt6sUmY4GqfL7nB -# gQBpHpe6p7om04J6z5FaBLQRscDOo90StsUtolHAVuIhPBxxbBusJRiB6hHtHyaS -# e5rRsoKVzTQqDOxzrw5HIiq1/SFqJfT5vKTmfNDsFBVNfTbeNF8W0CScuG07rQeu -# gEc3vmmKQjBXl8RwuIlQUkhgmkh5g1A71ipibSvb5XsiZY+nz3lksL/69meWjvOI -# LZbD4TcI1MlAZbZliNfrGJpRAJk2KHN+E5+Lz8rsZMnOvl14TeiWh7tX5CUHB17A -# WWZMoRCGuSpvZ0nwELjYRO+huZTRrTGM/1iTK/xJ08TIK0ouuyihHTOMuzuprpXu -# JEKJapgQ0oAIDM5wGuxJIgcrlgLdjeg9qR7Qgpk80OFDFCt22fMxPKWYUrvaN9CP -# 1qUvzU0csEaMGbqaXvDxW4Jh5qMq6stiD9u1ZlbQXLd7cGgdLFZkG2SHYGRlsLSJ -# CCiA+xhFpyq6paLwByVyiRomN2RoKziR2yIFy04hHt1dxdCxstLU7IYepMPD2hq8 -# LrQsJKtLs3oukf9hGm9mg/Ob6hfjYKO9WeFBoArZJJsAy+3yhOOvXakAeZyAaZKL -# 2W+ytTIBkEwOvpVxZoV1M0acQ1B9NlaVO29RJ6EQlWdcsN9+HA2tcJ3fSGAai+bf -# I4TJiQIDAQABo4ICHTCCAhkwHwYDVR0jBBgwFoAUy1yTroib/kNvVlBSAm14/Kzh -# sVowHQYDVR0OBBYEFE1FuBWTKAW2LOHLbCt+NrwdAW09MDQGA1UdEQQtMCugKQYI -# KwYBBQUHCAOgHTAbDBlVUy1XQVNISU5HVE9OLTYwMyAzODkgMDY4MA4GA1UdDwEB -# /wQEAwIHgDATBgNVHSUEDDAKBggrBgEFBQcDAzCBmQYDVR0fBIGRMIGOMEWgQ6BB -# hj9odHRwOi8vY3JsMy5kaWdpY2VydC5jb20vTkVURm91bmRhdGlvblByb2plY3Rz -# Q29kZVNpZ25pbmdDQS5jcmwwRaBDoEGGP2h0dHA6Ly9jcmw0LmRpZ2ljZXJ0LmNv -# bS9ORVRGb3VuZGF0aW9uUHJvamVjdHNDb2RlU2lnbmluZ0NBLmNybDBLBgNVHSAE -# RDBCMDYGCWCGSAGG/WwDATApMCcGCCsGAQUFBwIBFhtodHRwOi8vd3d3LmRpZ2lj -# ZXJ0LmNvbS9DUFMwCAYGZ4EMAQQBMIGEBggrBgEFBQcBAQR4MHYwJAYIKwYBBQUH -# MAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNvbTBOBggrBgEFBQcwAoZCaHR0cDov -# L2NhY2VydHMuZGlnaWNlcnQuY29tL05FVEZvdW5kYXRpb25Qcm9qZWN0c0NvZGVT -# aWduaW5nQ0EuY3J0MAwGA1UdEwEB/wQCMAAwDQYJKoZIhvcNAQELBQADggEBAI1A -# ruHc8L6TuwQC561WdwZ67LcwTmL26+W6d4m8WEXmM1RCms1Ipi0XuGL4ts9+dQbO -# yM+zB+OcTEuZpD4XuAkvthV1A5GpUJZa2hnbMgf7FeknluJF4KOpGT9ABn10tAUP -# LYEqGZONKZnJB5yjVXEIbfNrOp6WRJCQOvZSKE2Oj9CfJ6KZmaJd/gXfQzPR6oPT -# +qL/vxPvl+iyM7Cnj8e7v4GeYhKvlbnA2q5/FiBKLCNMq2B7VqNDr69wCfYgV0gi -# A19U/37d88Sz8dfJwXpAiNzrYfgrdBWlZpq8PHkKjqlCRxOr71ESnWUv7Q6Qneae -# BznvWh02DlXUPGIWMCQxghq7MIIatwIBATBuMFoxCzAJBgNVBAYTAlVTMRgwFgYD -# VQQKEw8uTkVUIEZvdW5kYXRpb24xMTAvBgNVBAMTKC5ORVQgRm91bmRhdGlvbiBQ -# cm9qZWN0cyBDb2RlIFNpZ25pbmcgQ0ECEAtlgdQPcffr75g0vsMvY94wDQYJYIZI -# AWUDBAIBBQCggbQwGQYJKoZIhvcNAQkDMQwGCisGAQQBgjcCAQQwHAYKKwYBBAGC -# NwIBCzEOMAwGCisGAQQBgjcCARUwLwYJKoZIhvcNAQkEMSIEILJBX6Rq90wCuBC7 -# wnNcdaDYqE7DiBtjiKMx9wMkO8XZMEgGCisGAQQBgjcCAQwxOjA4oBSAEgB4AFUA -# bgBpAHQALgBuAGUAdKEggB5odHRwczovL2dpdGh1Yi5jb20veHVuaXQveHVuaXQw -# DQYJKoZIhvcNAQEBBQAEggIAqMZj+2saPoI8wq5DXcAUexJCzGxni9ExhYBclZJL -# XQBZMPNXsDodtr+vaNI/a7yaWTCAqI0yu7lmsVIFkQYAYTYgW3/H1sBzNb9lKXSK -# QFMdm/uRT8RJHyN2NZ6RO0IWJW6britNX3JC36sIJZT87RsFeVK5WsMao/aMD2XP -# Kkjqx3yWjqNBgkRimiJLiuKxWo/+6BoxNt5KLq3VnSWunW9W50Y7WjAW7tZ1yv6m -# do1Zg9yj/0RUeoO9YCvDurMXwPXChg1i08fIWvXVVlJBDYhKd/pm3ApYAApzMZY7 -# z1IyYkf4loZRn7hRUzrPGLApA9jWxJIwv8zovz1gzgHhjp0IcGtdvc0gZ3yW8tay -# eljwC8u93Pg4vhoKJbbv0FGfzzoWQ4EnrhdcSsSZTgxf7zOPUnJ/rdHa+fJzBsju -# 2nWzFSn6VtGK4XmWM3C0xgeJ5yr50UF5WoVkA3f4mEjWIcV7LjiT6Fuh5gv9UTEl -# 9N96RjLdZ4WxrkWFJLUExTduzdN2YM4KwXciCNlDIWjzNQB/SeOOeDOSZkt4XXU7 -# eCaAIH7obCsxLUCEb+SNWXFMh9T26Nj9PKgwPvnYuRnvuDGQI1kwufbBnwBfjnRD -# cCa//9p8LL69yNnEojVxQ0av1n0B9uBvcpZ6hLb0RzNOLG3TCTB8/uJogKmLEFE7 -# XLShghdnMIIXYwYKKwYBBAGCNwMDATGCF1MwghdPBgkqhkiG9w0BBwKgghdAMIIX -# PAIBAzEPMA0GCWCGSAFlAwQCAQUAMHcGCyqGSIb3DQEJEAEEoGgEZjBkAgEBBglg -# hkgBhv1sBwEwMTANBglghkgBZQMEAgEFAAQgfAfWMH9XwoLdKsW1WaCBazoqn6SA -# QkQg6HxAqwu1xAsCEGJ97yVzAZpolJi2bAJwkKUYDzIwMjIwODAxMjAxNjU5WqCC -# EzEwggbGMIIErqADAgECAhAKekqInsmZQpAGYzhNhpedMA0GCSqGSIb3DQEBCwUA -# MGMxCzAJBgNVBAYTAlVTMRcwFQYDVQQKEw5EaWdpQ2VydCwgSW5jLjE7MDkGA1UE -# AxMyRGlnaUNlcnQgVHJ1c3RlZCBHNCBSU0E0MDk2IFNIQTI1NiBUaW1lU3RhbXBp -# bmcgQ0EwHhcNMjIwMzI5MDAwMDAwWhcNMzMwMzE0MjM1OTU5WjBMMQswCQYDVQQG -# EwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xJDAiBgNVBAMTG0RpZ2lDZXJ0 -# IFRpbWVzdGFtcCAyMDIyIC0gMjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoC -# ggIBALkqliOmXLxf1knwFYIY9DPuzFxs4+AlLtIx5DxArvurxON4XX5cNur1JY1D -# o4HrOGP5PIhp3jzSMFENMQe6Rm7po0tI6IlBfw2y1vmE8Zg+C78KhBJxbKFiJgHT -# zsNs/aw7ftwqHKm9MMYW2Nq867Lxg9GfzQnFuUFqRUIjQVr4YNNlLD5+Xr2Wp/D8 -# sfT0KM9CeR87x5MHaGjlRDRSXw9Q3tRZLER0wDJHGVvimC6P0Mo//8ZnzzyTlU6E -# 6XYYmJkRFMUrDKAz200kheiClOEvA+5/hQLJhuHVGBS3BEXz4Di9or16cZjsFef9 -# LuzSmwCKrB2NO4Bo/tBZmCbO4O2ufyguwp7gC0vICNEyu4P6IzzZ/9KMu/dDI9/n -# w1oFYn5wLOUrsj1j6siugSBrQ4nIfl+wGt0ZvZ90QQqvuY4J03ShL7BUdsGQT5Ts -# hmH/2xEvkgMwzjC3iw9dRLNDHSNQzZHXL537/M2xwafEDsTvQD4ZOgLUMalpoEn5 -# deGb6GjkagyP6+SxIXuGZ1h+fx/oK+QUshbWgaHK2jCQa+5vdcCwNiayCDv/vb5/ -# bBMY38ZtpHlJrYt/YYcFaPfUcONCleieu5tLsuK2QT3nr6caKMmtYbCgQRgZTu1H -# m2GV7T4LYVrqPnqYklHNP8lE54CLKUJy93my3YTqJ+7+fXprAgMBAAGjggGLMIIB -# hzAOBgNVHQ8BAf8EBAMCB4AwDAYDVR0TAQH/BAIwADAWBgNVHSUBAf8EDDAKBggr -# BgEFBQcDCDAgBgNVHSAEGTAXMAgGBmeBDAEEAjALBglghkgBhv1sBwEwHwYDVR0j -# BBgwFoAUuhbZbU2FL3MpdpovdYxqII+eyG8wHQYDVR0OBBYEFI1kt4kh/lZYRIRh -# p+pvHDaP3a8NMFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwzLmRpZ2ljZXJ0 -# LmNvbS9EaWdpQ2VydFRydXN0ZWRHNFJTQTQwOTZTSEEyNTZUaW1lU3RhbXBpbmdD -# QS5jcmwwgZAGCCsGAQUFBwEBBIGDMIGAMCQGCCsGAQUFBzABhhhodHRwOi8vb2Nz -# cC5kaWdpY2VydC5jb20wWAYIKwYBBQUHMAKGTGh0dHA6Ly9jYWNlcnRzLmRpZ2lj -# ZXJ0LmNvbS9EaWdpQ2VydFRydXN0ZWRHNFJTQTQwOTZTSEEyNTZUaW1lU3RhbXBp -# bmdDQS5jcnQwDQYJKoZIhvcNAQELBQADggIBAA0tI3Sm0fX46kuZPwHk9gzkrxad -# 2bOMl4IpnENvAS2rOLVwEb+EGYs/XeWGT76TOt4qOVo5TtiEWaW8G5iq6Gzv0Uhp -# GThbz4k5HXBw2U7fIyJs1d/2WcuhwupMdsqh3KErlribVakaa33R9QIJT4LWpXOI -# xJiA3+5JlbezzMWn7g7h7x44ip/vEckxSli23zh8y/pc9+RTv24KfH7X3pjVKWWJ -# D6KcwGX0ASJlx+pedKZbNZJQfPQXpodkTz5GiRZjIGvL8nvQNeNKcEiptucdYL0E -# IhUlcAZyqUQ7aUcR0+7px6A+TxC5MDbk86ppCaiLfmSiZZQR+24y8fW7OK3NwJMR -# 1TJ4Sks3KkzzXNy2hcC7cDBVeNaY/lRtf3GpSBp43UZ3Lht6wDOK+EoojBKoc88t -# +dMj8p4Z4A2UKKDr2xpRoJWCjihrpM6ddt6pc6pIallDrl/q+A8GQp3fBmiW/iqg -# dFtjZt5rLLh4qk1wbfAs8QcVfjW05rUMopml1xVrNQ6F1uAszOAMJLh8UgsemXzv -# yMjFjFhpr6s94c/MfRWuFL+Kcd/Kl7HYR+ocheBFThIcFClYzG/Tf8u+wQ5KbyCc -# rtlzMlkI5y2SoRoR/jKYpl0rl+CL05zMbbUNrkdjOEcXW28T2moQbh9Jt0RbtAgK -# h1pZBHYRoad3AhMcMIIGrjCCBJagAwIBAgIQBzY3tyRUfNhHrP0oZipeWzANBgkq -# hkiG9w0BAQsFADBiMQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5j -# MRkwFwYDVQQLExB3d3cuZGlnaWNlcnQuY29tMSEwHwYDVQQDExhEaWdpQ2VydCBU -# cnVzdGVkIFJvb3QgRzQwHhcNMjIwMzIzMDAwMDAwWhcNMzcwMzIyMjM1OTU5WjBj -# MQswCQYDVQQGEwJVUzEXMBUGA1UEChMORGlnaUNlcnQsIEluYy4xOzA5BgNVBAMT -# MkRpZ2lDZXJ0IFRydXN0ZWQgRzQgUlNBNDA5NiBTSEEyNTYgVGltZVN0YW1waW5n -# IENBMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAxoY1BkmzwT1ySVFV -# xyUDxPKRN6mXUaHW0oPRnkyibaCwzIP5WvYRoUQVQl+kiPNo+n3znIkLf50fng8z -# H1ATCyZzlm34V6gCff1DtITaEfFzsbPuK4CEiiIY3+vaPcQXf6sZKz5C3GeO6lE9 -# 8NZW1OcoLevTsbV15x8GZY2UKdPZ7Gnf2ZCHRgB720RBidx8ald68Dd5n12sy+iE -# ZLRS8nZH92GDGd1ftFQLIWhuNyG7QKxfst5Kfc71ORJn7w6lY2zkpsUdzTYNXNXm -# G6jBZHRAp8ByxbpOH7G1WE15/tePc5OsLDnipUjW8LAxE6lXKZYnLvWHpo9OdhVV -# JnCYJn+gGkcgQ+NDY4B7dW4nJZCYOjgRs/b2nuY7W+yB3iIU2YIqx5K/oN7jPqJz -# +ucfWmyU8lKVEStYdEAoq3NDzt9KoRxrOMUp88qqlnNCaJ+2RrOdOqPVA+C/8KI8 -# ykLcGEh/FDTP0kyr75s9/g64ZCr6dSgkQe1CvwWcZklSUPRR8zZJTYsg0ixXNXkr -# qPNFYLwjjVj33GHek/45wPmyMKVM1+mYSlg+0wOI/rOP015LdhJRk8mMDDtbiiKo -# wSYI+RQQEgN9XyO7ZONj4KbhPvbCdLI/Hgl27KtdRnXiYKNYCQEoAA6EVO7O6V3I -# XjASvUaetdN2udIOa5kM0jO0zbECAwEAAaOCAV0wggFZMBIGA1UdEwEB/wQIMAYB -# Af8CAQAwHQYDVR0OBBYEFLoW2W1NhS9zKXaaL3WMaiCPnshvMB8GA1UdIwQYMBaA -# FOzX44LScV1kTN8uZz/nupiuHA9PMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAK -# BggrBgEFBQcDCDB3BggrBgEFBQcBAQRrMGkwJAYIKwYBBQUHMAGGGGh0dHA6Ly9v -# Y3NwLmRpZ2ljZXJ0LmNvbTBBBggrBgEFBQcwAoY1aHR0cDovL2NhY2VydHMuZGln -# aWNlcnQuY29tL0RpZ2lDZXJ0VHJ1c3RlZFJvb3RHNC5jcnQwQwYDVR0fBDwwOjA4 -# oDagNIYyaHR0cDovL2NybDMuZGlnaWNlcnQuY29tL0RpZ2lDZXJ0VHJ1c3RlZFJv -# b3RHNC5jcmwwIAYDVR0gBBkwFzAIBgZngQwBBAIwCwYJYIZIAYb9bAcBMA0GCSqG -# SIb3DQEBCwUAA4ICAQB9WY7Ak7ZvmKlEIgF+ZtbYIULhsBguEE0TzzBTzr8Y+8dQ -# XeJLKftwig2qKWn8acHPHQfpPmDI2AvlXFvXbYf6hCAlNDFnzbYSlm/EUExiHQwI -# gqgWvalWzxVzjQEiJc6VaT9Hd/tydBTX/6tPiix6q4XNQ1/tYLaqT5Fmniye4Iqs -# 5f2MvGQmh2ySvZ180HAKfO+ovHVPulr3qRCyXen/KFSJ8NWKcXZl2szwcqMj+sAn -# gkSumScbqyQeJsG33irr9p6xeZmBo1aGqwpFyd/EjaDnmPv7pp1yr8THwcFqcdnG -# E4AJxLafzYeHJLtPo0m5d2aR8XKc6UsCUqc3fpNTrDsdCEkPlM05et3/JWOZJyw9 -# P2un8WbDQc1PtkCbISFA0LcTJM3cHXg65J6t5TRxktcma+Q4c6umAU+9Pzt4rUyt -# +8SVe+0KXzM5h0F4ejjpnOHdI/0dKNPH+ejxmF/7K9h+8kaddSweJywm228Vex4Z -# iza4k9Tm8heZWcpw8De/mADfIBZPJ/tgZxahZrrdVcA6KYawmKAr7ZVBtzrVFZgx -# tGIJDwq9gdkT/r+k0fNX2bwE+oLeMt8EifAAzV3C+dAjfwAL5HYCJtnwZXZCpimH -# CUcr5n8apIUP/JiW9lVUKx+A+sDyDivl1vupL0QVSucTDh3bNzgaoSv27dZ8/DCC -# BbEwggSZoAMCAQICEAEkCvseOAuKFvFLcZ3008AwDQYJKoZIhvcNAQEMBQAwZTEL -# MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3 -# LmRpZ2ljZXJ0LmNvbTEkMCIGA1UEAxMbRGlnaUNlcnQgQXNzdXJlZCBJRCBSb290 -# IENBMB4XDTIyMDYwOTAwMDAwMFoXDTMxMTEwOTIzNTk1OVowYjELMAkGA1UEBhMC -# VVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3LmRpZ2ljZXJ0 -# LmNvbTEhMB8GA1UEAxMYRGlnaUNlcnQgVHJ1c3RlZCBSb290IEc0MIICIjANBgkq -# hkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAv+aQc2jeu+RdSjwwIjBpM+zCpyUuySE9 -# 8orYWcLhKac9WKt2ms2uexuEDcQwH/MbpDgW61bGl20dq7J58soR0uRf1gU8Ug9S -# H8aeFaV+vp+pVxZZVXKvaJNwwrK6dZlqczKU0RBEEC7fgvMHhOZ0O21x4i0MG+4g -# 1ckgHWMpLc7sXk7Ik/ghYZs06wXGXuxbGrzryc/NrDRAX7F6Zu53yEioZldXn1RY -# jgwrt0+nMNlW7sp7XeOtyU9e5TXnMcvak17cjo+A2raRmECQecN4x7axxLVqGDgD -# EI3Y1DekLgV9iPWCPhCRcKtVgkEy19sEcypukQF8IUzUvK4bA3VdeGbZOjFEmjNA -# vwjXWkmkwuapoGfdpCe8oU85tRFYF/ckXEaPZPfBaYh2mHY9WV1CdoeJl2l6SPDg -# ohIbZpp0yt5LHucOY67m1O+SkjqePdwA5EUlibaaRBkrfsCUtNJhbesz2cXfSwQA -# zH0clcOP9yGyshG3u3/y1YxwLEFgqrFjGESVGnZifvaAsPvoZKYz0YkH4b235kOk -# GLimdwHhD5QMIR2yVCkliWzlDlJRR3S+Jqy2QXXeeqxfjT/JvNNBERJb5RBQ6zHF -# ynIWIgnffEx1P2PsIV/EIFFrb7GrhotPwtZFX50g/KEexcCPorF+CiaZ9eRpL5gd -# LfXZqbId5RsCAwEAAaOCAV4wggFaMA8GA1UdEwEB/wQFMAMBAf8wHQYDVR0OBBYE -# FOzX44LScV1kTN8uZz/nupiuHA9PMB8GA1UdIwQYMBaAFEXroq/0ksuCMS1Ri6en -# IZ3zbcgPMA4GA1UdDwEB/wQEAwIBhjATBgNVHSUEDDAKBggrBgEFBQcDCDB5Bggr -# BgEFBQcBAQRtMGswJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmRpZ2ljZXJ0LmNv -# bTBDBggrBgEFBQcwAoY3aHR0cDovL2NhY2VydHMuZGlnaWNlcnQuY29tL0RpZ2lD -# ZXJ0QXNzdXJlZElEUm9vdENBLmNydDBFBgNVHR8EPjA8MDqgOKA2hjRodHRwOi8v -# Y3JsMy5kaWdpY2VydC5jb20vRGlnaUNlcnRBc3N1cmVkSURSb290Q0EuY3JsMCAG -# A1UdIAQZMBcwCAYGZ4EMAQQCMAsGCWCGSAGG/WwHATANBgkqhkiG9w0BAQwFAAOC -# AQEAmhYCpQHvgfsNtFiyeK2oIxnZczfaYJ5R18v4L0C5ox98QE4zPpA854kBdYXo -# YnsdVuBxut5exje8eVxiAE34SXpRTQYy88XSAConIOqJLhU54Cw++HV8LIJBYTUP -# I9DtNZXSiJUpQ8vgplgQfFOOn0XJIDcUwO0Zun53OdJUlsemEd80M/Z1UkJLHJ2N -# ltWVbEcSFCRfJkH6Gka93rDlkUcDrBgIy8vbZol/K5xlv743Tr4t851Kw8zMR17I -# lZWt0cu7KgYg+T9y6jbrRXKSeil7FAM8+03WSHF6EBGKCHTNbBsEXNKKlQN2UVBT -# 1i73SkbDrhAscUywh7YnN0RgRDGCA3YwggNyAgEBMHcwYzELMAkGA1UEBhMCVVMx -# FzAVBgNVBAoTDkRpZ2lDZXJ0LCBJbmMuMTswOQYDVQQDEzJEaWdpQ2VydCBUcnVz -# dGVkIEc0IFJTQTQwOTYgU0hBMjU2IFRpbWVTdGFtcGluZyBDQQIQCnpKiJ7JmUKQ -# BmM4TYaXnTANBglghkgBZQMEAgEFAKCB0TAaBgkqhkiG9w0BCQMxDQYLKoZIhvcN -# AQkQAQQwHAYJKoZIhvcNAQkFMQ8XDTIyMDgwMTIwMTY1OVowKwYLKoZIhvcNAQkQ -# AgwxHDAaMBgwFgQUhQjzhlFcs9MHfba0t8B/G0peQd4wLwYJKoZIhvcNAQkEMSIE -# IIim/G2Jg754VizUwnpba75oo8d4G4Ci6p84oJiHVlX3MDcGCyqGSIb3DQEJEAIv -# MSgwJjAkMCIEIJ2mkBXDScbBiXhFujWCrXDIj6QpO9tqvpwr0lOSeeY7MA0GCSqG -# SIb3DQEBAQUABIICAFf3l7mM9xHzqYUUCc+JOAcISpmQgKYGTZh2SXhBDKotXDDB -# +1eNI73xe38xgaXB0/AS1cssyfyx2hQy0wVH2Y4Xmfjjl/2B+byMW4RIzpuExpF4 -# pYWZhICnPljtpeboJ18HKXqfPjWfqYmLEZACfGcJ3boRiRT69DCqG0lG2J+ljpYN -# fFLnVxFbCdBQ9c5CSRZastR3g1oxs18iYOfM9oQH3Hzh+XYs8G7ZQvTHb9TYNe23 -# Zx4zbO6k0ciCXGPyF9W4EDujmfRLIg/6Jz36BYkxy7KKFISJHQ15+bOrbBerAJmt -# gx2a1zY+z30TXKNriKKJWZz3OcYbmZE8H3Mo+ZmIlSPORgYSo561qcUWu1r9Tjns -# W9fQmyaDWaIdQZXvBQaCrotp5sr+v5+6LxF1AomZwssbSk3Cd+c6UBwY951r7g2v -# CKQXM+tY6Gpe/faNTkQDCoZ2Tz8BLxn6G1hD9LPyfGB9zDfWJOIM8X0yEQglSb0Q -# tJUzkn8vtA9eSQECTfD5kLFmqIGGyNgB1JrilFWZl0m/2xTCK0Gm0ay1IlI5Lh2B -# tlVi1B29/iI01PAYkG0vVLT6IiSwR2gyU+n4DvfBpKKLI2beYYOypKYy+eDl5Ozx -# XGi+cmclPZ9AcjE4hddAak+zJMAtaZD4KIBavM6f6S4xskPISe6SIDl4kmeO -# SIG # End signature block diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/xunit.analyzers.1.0.0.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/xunit.analyzers.1.0.0.nupkg deleted file mode 100644 index 745bdcfc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.analyzers.1.0.0/xunit.analyzers.1.0.0.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/.signature.p7s deleted file mode 100644 index af4eea67..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.dll deleted file mode 100644 index 27e97e51..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.xml deleted file mode 100644 index 60d0c634..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/lib/netstandard1.1/xunit.assert.xml +++ /dev/null @@ -1,1931 +0,0 @@ - - - - xunit.assert - - - - - Contains various static methods that are used to verify that conditions are met during the - process of running tests. - - - - - Initializes a new instance of the class. - - - - Do not call this method. - - - Do not call this method. - - - - Verifies that the condition is false. - - The condition to be tested - Thrown if the condition is not false - - - - Verifies that the condition is false. - - The condition to be tested - Thrown if the condition is not false - - - - Verifies that the condition is false. - - The condition to be tested - The message to show when the condition is not false - Thrown if the condition is not false - - - - Verifies that the condition is false. - - The condition to be tested - The message to show when the condition is not false - Thrown if the condition is not false - - - - Verifies that an expression is true. - - The condition to be inspected - Thrown when the condition is false - - - - Verifies that an expression is true. - - The condition to be inspected - Thrown when the condition is false - - - - Verifies that an expression is true. - - The condition to be inspected - The message to be shown when the condition is false - Thrown when the condition is false - - - - Verifies that an expression is true. - - The condition to be inspected - The message to be shown when the condition is false - Thrown when the condition is false - - - - Verifies that all items in the collection pass when executed against - action. - - The type of the object to be verified - The collection - The action to test each item against - Thrown when the collection contains at least one non-matching element - - - - Verifies that all items in the collection pass when executed against - action. The item index is provided to the action, in addition to the item. - - The type of the object to be verified - The collection - The action to test each item against - Thrown when the collection contains at least one non-matching element - - - - Verifies that a collection contains exactly a given number of elements, which meet - the criteria provided by the element inspectors. - - The type of the object to be verified - The collection to be inspected - The element inspectors, which inspect each element in turn. The - total number of element inspectors must exactly match the number of elements in the collection. - - - - Verifies that a collection contains a given object. - - The type of the object to be verified - The object expected to be in the collection - The collection to be inspected - Thrown when the object is not present in the collection - - - - Verifies that a collection contains a given object, using an equality comparer. - - The type of the object to be verified - The object expected to be in the collection - The collection to be inspected - The comparer used to equate objects in the collection with the expected object - Thrown when the object is not present in the collection - - - - Verifies that a collection contains a given object. - - The type of the object to be verified - The collection to be inspected - The filter used to find the item you're ensuring the collection contains - Thrown when the object is not present in the collection - - - - Verifies that a dictionary contains a given key. - - The type of the keys of the object to be verified. - The type of the values of the object to be verified. - The object expected to be in the collection. - The collection to be inspected. - The value associated with . - Thrown when the object is not present in the collection - - - - Verifies that a dictionary contains a given key. - - The type of the keys of the object to be verified. - The type of the values of the object to be verified. - The object expected to be in the collection. - The collection to be inspected. - The value associated with . - Thrown when the object is not present in the collection - - - - Verifies that a collection contains each object only once. - - The type of the object to be compared - The collection to be inspected - Thrown when an object is present inside the container more than once - - - - Verifies that a collection contains each object only once. - - The type of the object to be compared - The collection to be inspected - The comparer used to equate objects in the collection with the expected object - Thrown when an object is present inside the container more than once - - - - Verifies that a collection does not contain a given object. - - The type of the object to be compared - The object that is expected not to be in the collection - The collection to be inspected - Thrown when the object is present inside the container - - - - Verifies that a collection does not contain a given object, using an equality comparer. - - The type of the object to be compared - The object that is expected not to be in the collection - The collection to be inspected - The comparer used to equate objects in the collection with the expected object - Thrown when the object is present inside the container - - - - Verifies that a collection does not contain a given object. - - The type of the object to be compared - The collection to be inspected - The filter used to find the item you're ensuring the collection does not contain - Thrown when the object is present inside the container - - - - Verifies that a dictionary does not contain a given key. - - The type of the keys of the object to be verified. - The type of the values of the object to be verified. - The object expected to be in the collection. - The collection to be inspected. - Thrown when the object is present in the collection - - - - Verifies that a dictionary does not contain a given key. - - The type of the keys of the object to be verified. - The type of the values of the object to be verified. - The object expected to be in the collection. - The collection to be inspected. - Thrown when the object is present in the collection - - - - Verifies that a collection is empty. - - The collection to be inspected - Thrown when the collection is null - Thrown when the collection is not empty - - - - Verifies that two sequences are equivalent, using a default comparer. - - The type of the objects to be compared - The expected value - The value to be compared against - Thrown when the objects are not equal - - - - Verifies that two sequences are equivalent, using a custom equatable comparer. - - The type of the objects to be compared - The expected value - The value to be compared against - The comparer used to compare the two objects - Thrown when the objects are not equal - - - - Verifies that a collection is not empty. - - The collection to be inspected - Thrown when a null collection is passed - Thrown when the collection is empty - - - - Verifies that two sequences are not equivalent, using a default comparer. - - The type of the objects to be compared - The expected object - The actual object - Thrown when the objects are equal - - - - Verifies that two sequences are not equivalent, using a custom equality comparer. - - The type of the objects to be compared - The expected object - The actual object - The comparer used to compare the two objects - Thrown when the objects are equal - - - - Verifies that the given collection contains only a single - element of the given type. - - The collection. - The single item in the collection. - Thrown when the collection does not contain - exactly one element. - - - - Verifies that the given collection contains only a single - element of the given value. The collection may or may not - contain other values. - - The collection. - The value to find in the collection. - The single item in the collection. - Thrown when the collection does not contain - exactly one element. - - - - Verifies that the given collection contains only a single - element of the given type. - - The collection type. - The collection. - The single item in the collection. - Thrown when the collection does not contain - exactly one element. - - - - Verifies that the given collection contains only a single - element of the given type which matches the given predicate. The - collection may or may not contain other values which do not - match the given predicate. - - The collection type. - The collection. - The item matching predicate. - The single item in the filtered collection. - Thrown when the filtered collection does - not contain exactly one element. - - - - Verifies that two objects are equal, using a default comparer. - - The type of the objects to be compared - The expected value - The value to be compared against - Thrown when the objects are not equal - - - - Verifies that two objects are equal, using a custom equatable comparer. - - The type of the objects to be compared - The expected value - The value to be compared against - The comparer used to compare the two objects - Thrown when the objects are not equal - - - - Verifies that two values are equal, within the number of decimal - places given by . The values are rounded before comparison. - - The expected value - The value to be compared against - The number of decimal places (valid values: 0-15) - Thrown when the values are not equal - - - - Verifies that two values are equal, within the number of decimal - places given by . The values are rounded before comparison. - The rounding method to use is given by - - The expected value - The value to be compared against - The number of decimal places (valid values: 0-15) - Rounding method to use to process a number that is midway between two numbers - - - - Verifies that two values are equal, within the tolerance given by - (positive or negative). - - The expected value - The value to be compared against - The allowed difference between values - Thrown when supplied tolerance is invalid" - Thrown when the values are not equal - - - - Verifies that two values are equal, within the tolerance given by - (positive or negative). - - The expected value - The value to be compared against - The allowed difference between values - Thrown when supplied tolerance is invalid" - Thrown when the values are not equal - - - - Verifies that two values are equal, within the number of decimal - places given by . The values are rounded before comparison. - - The expected value - The value to be compared against - The number of decimal places (valid values: 0-28) - Thrown when the values are not equal - - - - Verifies that two values are equal, within the precision - given by . - - The expected value - The value to be compared against - The allowed difference in time where the two dates are considered equal - Thrown when the values are not equal - - - - Verifies that two objects are strictly equal, using the type's default comparer. - - The type of the objects to be compared - The expected value - The value to be compared against - Thrown when the objects are not equal - - - - Verifies that two objects are not equal, using a default comparer. - - The type of the objects to be compared - The expected object - The actual object - Thrown when the objects are equal - - - - Verifies that two objects are not equal, using a custom equality comparer. - - The type of the objects to be compared - The expected object - The actual object - The comparer used to examine the objects - Thrown when the objects are equal - - - - Verifies that two values are not equal, within the number of decimal - places given by . - - The expected value - The value to be compared against - The number of decimal places (valid values: 0-15) - Thrown when the values are equal - - - - Verifies that two values are not equal, within the number of decimal - places given by . - - The expected value - The value to be compared against - The number of decimal places (valid values: 0-28) - Thrown when the values are equal - - - - Verifies that two objects are strictly not equal, using the type's default comparer. - - The type of the objects to be compared - The expected object - The actual object - Thrown when the objects are equal - - - - Verifies that two objects are equivalent, using a default comparer. This comparison is done - without regard to type, and only inspects public property and field values for individual - equality. Deep equivalence tests (meaning, property or fields which are themselves complex - types) are supported. With strict mode off, object comparison allows - to have extra public members that aren't part of , and collection - comparison allows to have more data in it than is present in - ; with strict mode on, those rules are tightened to require exact - member list (for objects) or data (for collections). - - The expected value - The actual value - A flag which enables strict comparison mode - - - - Verifies that a event with the exact event args is raised. - - The type of the event arguments to expect - Code to attach the event handler - Code to detach the event handler - A delegate to the code to be tested - The event sender and arguments wrapped in an object - Thrown when the expected event was not raised. - - - - Verifies that an event with the exact or a derived event args is raised. - - The type of the event arguments to expect - Code to attach the event handler - Code to detach the event handler - A delegate to the code to be tested - The event sender and arguments wrapped in an object - Thrown when the expected event was not raised. - - - - Verifies that a event with the exact event args (and not a derived type) is raised. - - The type of the event arguments to expect - Code to attach the event handler - Code to detach the event handler - A delegate to the code to be tested - The event sender and arguments wrapped in an object - Thrown when the expected event was not raised. - - - - Verifies that an event with the exact or a derived event args is raised. - - The type of the event arguments to expect - Code to attach the event handler - Code to detach the event handler - A delegate to the code to be tested - The event sender and arguments wrapped in an object - Thrown when the expected event was not raised. - - - - Represents a raised event after the fact. - - The type of the event arguments. - - - - The sender of the event. - - - - - The event arguments. - - - - - Creates a new instance of the class. - - The sender of the event. - The event arguments - - - - Verifies that the exact exception is thrown (and not a derived exception type). - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception is thrown (and not a derived exception type). - Generally used to test property accessors. - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - - - - Verifies that the exact exception is thrown (and not a derived exception type). - - The type of the exception expected to be thrown - A delegate to the task to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception or a derived exception type is thrown. - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception or a derived exception type is thrown. - Generally used to test property accessors. - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception or a derived exception type is thrown. - - The type of the exception expected to be thrown - A delegate to the task to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception is thrown (and not a derived exception type). - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception is thrown (and not a derived exception type). - Generally used to test property accessors. - - The type of the exception expected to be thrown - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - - - - Verifies that the exact exception is thrown (and not a derived exception type). - - The type of the exception expected to be thrown - A delegate to the task to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception is thrown (and not a derived exception type), where the exception - derives from and has the given parameter name. - - The parameter name that is expected to be in the exception - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Verifies that the exact exception is thrown (and not a derived exception type), where the exception - derives from and has the given parameter name. - - The parameter name that is expected to be in the exception - A delegate to the code to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - - - - Verifies that the exact exception is thrown (and not a derived exception type), where the exception - derives from and has the given parameter name. - - The parameter name that is expected to be in the exception - A delegate to the task to be tested - The exception that was thrown, when successful - Thrown when an exception was not thrown, or when an exception of the incorrect type is thrown - - - - Indicates that the test should immediately fail. - - The failure message - - - - - - - Verifies that two objects are not the same instance. - - The expected object instance - The actual object instance - Thrown when the objects are the same instance - - - - Verifies that two objects are the same instance. - - The expected object instance - The actual object instance - Thrown when the objects are not the same instance - - - - Runs multiple checks, collecting the exceptions from each one, and then bundles all failures - up into a single assertion failure. - - The individual assertions to run, as actions. - - - - Verifies that an object reference is not null. - - The object to be validated - Thrown when the object reference is null - - - - Verifies that an object reference is null. - - The object to be inspected - Thrown when the object reference is not null - - - - Verifies that the provided object raised - as a result of executing the given test code. - - The object which should raise the notification - The property name for which the notification should be raised - The test code which should cause the notification to be raised - Thrown when the notification is not raised - - - - - - - Verifies that the provided object raised - as a result of executing the given test code. - - The object which should raise the notification - The property name for which the notification should be raised - The test code which should cause the notification to be raised - Thrown when the notification is not raised - - - - Verifies that a value is within a given range. - - The type of the value to be compared - The actual value to be evaluated - The (inclusive) low value of the range - The (inclusive) high value of the range - Thrown when the value is not in the given range - - - - Verifies that a value is within a given range, using a comparer. - - The type of the value to be compared - The actual value to be evaluated - The (inclusive) low value of the range - The (inclusive) high value of the range - The comparer used to evaluate the value's range - Thrown when the value is not in the given range - - - - Verifies that a value is not within a given range, using the default comparer. - - The type of the value to be compared - The actual value to be evaluated - The (inclusive) low value of the range - The (inclusive) high value of the range - Thrown when the value is in the given range - - - - Verifies that a value is not within a given range, using a comparer. - - The type of the value to be compared - The actual value to be evaluated - The (inclusive) low value of the range - The (inclusive) high value of the range - The comparer used to evaluate the value's range - Thrown when the value is in the given range - - - - Records any exception which is thrown by the given code. - - The code which may thrown an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - Records any exception which is thrown by the given code that has - a return value. Generally used for testing property accessors. - - The code which may thrown an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - - - - Records any exception which is thrown by the given task. - - The task which may thrown an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - Verifies that a set is a proper subset of another set. - - The type of the object to be verified - The expected superset - The set expected to be a proper subset - Thrown when the actual set is not a proper subset of the expected set - - - - Verifies that a set is a proper superset of another set. - - The type of the object to be verified - The expected subset - The set expected to be a proper superset - Thrown when the actual set is not a proper superset of the expected set - - - - Verifies that a set is a subset of another set. - - The type of the object to be verified - The expected superset - The set expected to be a subset - Thrown when the actual set is not a subset of the expected set - - - - Verifies that a set is a superset of another set. - - The type of the object to be verified - The expected subset - The set expected to be a superset - Thrown when the actual set is not a superset of the expected set - - - - Verifies that a string contains a given sub-string, using the current culture. - - The sub-string expected to be in the string - The string to be inspected - Thrown when the sub-string is not present inside the string - - - - Verifies that a string contains a given sub-string, using the given comparison type. - - The sub-string expected to be in the string - The string to be inspected - The type of string comparison to perform - Thrown when the sub-string is not present inside the string - - - - Verifies that a string does not contain a given sub-string, using the current culture. - - The sub-string which is expected not to be in the string - The string to be inspected - Thrown when the sub-string is present inside the string - - - - Verifies that a string does not contain a given sub-string, using the current culture. - - The sub-string which is expected not to be in the string - The string to be inspected - The type of string comparison to perform - Thrown when the sub-string is present inside the given string - - - - Verifies that a string starts with a given string, using the current culture. - - The string expected to be at the start of the string - The string to be inspected - Thrown when the string does not start with the expected string - - - - Verifies that a string starts with a given string, using the given comparison type. - - The string expected to be at the start of the string - The string to be inspected - The type of string comparison to perform - Thrown when the string does not start with the expected string - - - - Verifies that a string ends with a given string, using the current culture. - - The string expected to be at the end of the string - The string to be inspected - Thrown when the string does not end with the expected string - - - - Verifies that a string ends with a given string, using the given comparison type. - - The string expected to be at the end of the string - The string to be inspected - The type of string comparison to perform - Thrown when the string does not end with the expected string - - - - Verifies that a string matches a regular expression. - - The regex pattern expected to match - The string to be inspected - Thrown when the string does not match the regex pattern - - - - Verifies that a string matches a regular expression. - - The regex expected to match - The string to be inspected - Thrown when the string does not match the regex - - - - Verifies that a string does not match a regular expression. - - The regex pattern expected not to match - The string to be inspected - Thrown when the string matches the regex pattern - - - - Verifies that a string does not match a regular expression. - - The regex expected not to match - The string to be inspected - Thrown when the string matches the regex - - - - Verifies that two strings are equivalent. - - The expected string value. - The actual string value. - Thrown when the strings are not equivalent. - - - - Verifies that two strings are equivalent. - - The expected string value. - The actual string value. - If set to true, ignores cases differences. The invariant culture is used. - If set to true, treats \r\n, \r, and \n as equivalent. - If set to true, treats spaces and tabs (in any non-zero quantity) as equivalent. - Thrown when the strings are not equivalent. - - - - Verifies that an object is of the given type or a derived type. - - The type the object should be - The object to be evaluated - The object, casted to type T when successful - Thrown when the object is not the given type - - - - Verifies that an object is of the given type or a derived type. - - The type the object should be - The object to be evaluated - Thrown when the object is not the given type - - - - Verifies that an object is not exactly the given type. - - The type the object should not be - The object to be evaluated - Thrown when the object is the given type - - - - Verifies that an object is not exactly the given type. - - The type the object should not be - The object to be evaluated - Thrown when the object is the given type - - - - Verifies that an object is exactly the given type (and not a derived type). - - The type the object should be - The object to be evaluated - The object, casted to type T when successful - Thrown when the object is not the given type - - - - Verifies that an object is exactly the given type (and not a derived type). - - The type the object should be - The object to be evaluated - Thrown when the object is not the given type - - - - Formats arguments for display in theories. - - - - - Format the value for presentation. - - The value to be formatted. - - - The formatted value. - - - - Format the value for presentation. - - The value to be formatted. - - The formatted value. - - - - Default implementation of used by the xUnit.net range assertions. - - The type that is being compared. - - - - - - - Default implementation of used by the xUnit.net equality assertions. - - The type that is being compared. - - - - Initializes a new instance of the class. - - The inner comparer to be used when the compared objects are enumerable. - - - - - - - - - - - - - A class that wraps to create . - - The type that is being compared. - - - - Initializes a new instance of the class. - - The comparer that is being adapted. - - - - - - - - - - The contract for exceptions which indicate that something should be skipped rather than - failed is that exception message should start with this, and that any text following this - will be treated as the skip reason (for example, - "$XunitDynamicSkip$This code can only run on Linux") will result in a skipped test with - the reason of "This code can only run on Linux". - - - - - Exception thrown when an All assertion has one or more items fail an assertion. - - - - - Creates a new instance of the class. - - The total number of items that were in the collection. - The list of errors that occurred during the test pass. - - - - The errors that occurred during execution of the test. - - - - - - - - Base class for exceptions that have actual and expected values - - - - - Creates a new instance of the class. - - The expected value - The actual value - The user message to be shown - The title to use for the expected value (defaults to "Expected") - The title to use for the actual value (defaults to "Actual") - - - - Creates a new instance of the class. - - The expected value - The actual value - The user message to be shown - The title to use for the expected value (defaults to "Expected") - The title to use for the actual value (defaults to "Actual") - The inner exception. - - - - Gets the actual value. - - - - - Gets the title used for the actual value. - - - - - Gets the expected value. - - - - - Gets the title used for the expected value. - - - - - Gets a message that describes the current exception. Includes the expected and actual values. - - The error message that explains the reason for the exception, or an empty string(""). - 1 - - - - Exception thrown when the collection did not contain exactly the given number element. - - - - - Initializes a new instance of the class. - - The expected number of items in the collection. - The actual number of items in the collection. - - - - Exception thrown when Assert.Collection fails. - - - - - Creates a new instance of the class. - - The collection that failed the test. - The expected number of items in the collection. - The actual number of items in the collection. - The index of the position where the first comparison failure occurred. - The exception that was thrown during the comparison failure. - - - - The collection that failed the test. - - - - - The actual number of items in the collection. - - - - - The expected number of items in the collection. - - - - - The index of the position where the first comparison failure occurred, or -1 if - comparisions did not occur (because the actual and expected counts differed). - - - - - - - - - - - Exception thrown when - or - finds a duplicate entry in the collection - - - - - Creates a new instance of the class. - - The object that was present twice in the collection. - The collection that was checked for duplicate entries. - - - - Gets the collection that was checked for duplicate entries. - - - - - Gets the object that was present more than once in the collection. - - - - - - - - Exception thrown when a collection unexpectedly does not contain the expected value. - - - - - Creates a new instance of the class. - - The expected object value - The actual value - - - - Exception thrown when a collection unexpectedly contains the expected value. - - - - - Creates a new instance of the class. - - The expected object value - The actual value - - - - Exception thrown when a string unexpectedly matches a regular expression. - - - - - Creates a new instance of the class. - - The regular expression pattern expected not to match - The actual value - - - - Exception thrown when a collection is unexpectedly not empty. - - - - - Creates a new instance of the class. - - - - - Exception thrown when a string does not end with the expected value. - - - - - Creates a new instance of the class. - - The expected string value - The actual value - - - - Exception thrown when two values are unexpectedly not equal. - - - - - Creates a new instance of the class. - - The expected object value - The actual object value - - - - Creates a new instance of the class for string comparisons. - - The expected string value - The actual string value - The first index in the expected string where the strings differ - The first index in the actual string where the strings differ - - - - Gets the index into the actual value where the values first differed. - Returns -1 if the difference index points were not provided. - - - - - Gets the index into the expected value where the values first differed. - Returns -1 if the difference index points were not provided. - - - - - - - - Gets the index of the difference between the IEunmerables when converted to a string. - - - - - Creates a new instance of the class for IEnumerable comparisons. - - The expected object value - The actual object value - The first index in the expected IEnumerable where the strings differ - - - - Exception thrown when two values are unexpectedly not equal. - - - - - - - - Creates a new instance of which shows a message that indicates - a circular reference was discovered. - - The name of the member that caused the circular reference - - - - Creates a new instance of which shows a message that indicates - that the list of available members does not match. - - The expected member names - The actual member names - The prefix to be applied to the member names (may be an empty string for a - top-level object, or a name in "member." format used as a prefix to show the member name list) - - - - Creates a new instance of which shows a message that indicates - that the fault comes from an individual value mismatch one of the members. - - The expected member value - The actual member value - The name of the mismatched member (may be an empty string for a - top-level object) - - - - Creates a new instance of which shows a message that indicates - a value was missing from the collection. - - - - The name of the member that was being inspected (may be an empty - string for a top-level collection) - - - - Creates a new instance of which shows a message that indicates - that contained one or more values that were not specified - in . - - The expected values - The actual values - The actual values that did not have matching expected values - The name of the member that was being inspected (may be an empty - string for a top-level collection) - - - - Exception thrown when the user calls .. - - - - - Creates a new instance of the class. - - The user's failure message. - - - - Exception thrown when a value is unexpectedly true. - - - - - Creates a new instance of the class. - - The user message to be display, or null for the default message - The actual value - - - - Exception thrown when a value is unexpectedly not in the given range. - - - - - Creates a new instance of the class. - - The actual object value - The low value of the range - The high value of the range - - - - Gets the actual object value - - - - - Gets the high value of the range - - - - - Gets the low value of the range - - - - - Gets a message that describes the current exception. - - The error message that explains the reason for the exception, or an empty string(""). - - - - Exception thrown when the value is unexpectedly not of the given type or a derived type. - - - - - Creates a new instance of the class. - - The expected type - The actual object value - - - - Exception thrown when the value is unexpectedly of the exact given type. - - - - - Creates a new instance of the class. - - The expected type - The actual object value - - - - Exception thrown when the value is unexpectedly not of the exact given type. - - - - - Creates a new instance of the class. - - The expected type name - The actual type name - - - - Exception thrown when a string does not match a regular expression. - - - - - Creates a new instance of the class. - - The expected regular expression pattern - The actual value - - - - Exception thrown when multiple assertions failed via . - - - - - Creates a new instance of the class. - - - - - Gets the list of inner exceptions that were thrown. - - - - - - - - Exception thrown when a collection is unexpectedly empty. - - - - - Creates a new instance of the class. - - - - - Exception thrown when two values are unexpectedly equal. - - - - - Creates a new instance of the class. - - - - - Exception thrown when a value is unexpectedly in the given range. - - - - - Creates a new instance of the class. - - The actual object value - The low value of the range - The high value of the range - - - - Gets the actual object value - - - - - Gets the high value of the range - - - - - Gets the low value of the range - - - - - Gets a message that describes the current exception. - - The error message that explains the reason for the exception, or an empty string(""). - - - - Exception thrown when an object is unexpectedly null. - - - - - Creates a new instance of the class. - - - - - Exception thrown when two values are unexpected the same instance. - - - - - Creates a new instance of the class. - - - - - Exception thrown when an object reference is unexpectedly not null. - - - - - Creates a new instance of the class. - - - - - - Exception to be thrown from theory execution when the number of - parameter values does not the test method signature. - - - - - Exception thrown when a set is not a proper subset of another set. - - - - - Creates a new instance of the class. - - - - - Exception thrown when a set is not a proper superset of another set. - - - - - Creates a new instance of the class. - - - - - Exception thrown when code unexpectedly fails change a property. - - - - - Creates a new instance of the class. Call this constructor - when no exception was thrown. - - The name of the property that was expected to be changed. - - - - Exception thrown when code unexpectedly fails to raise an event. - - - - - Creates a new instance of the class. Call this constructor - when no event was raised. - - The type of the event args that was expected - - - - Creates a new instance of the class. Call this constructor - when an - - - - - - - Gets the actual value. - - - - - Gets the expected value. - - - - - Gets a message that describes the current exception. Includes the expected and actual values. - - The error message that explains the reason for the exception, or an empty string(""). - 1 - - - - Gets a string representation of the frames on the call stack at the time the current exception was thrown. - - A string that describes the contents of the call stack, with the most recent method call appearing first. - - - - Exception thrown when two object references are unexpectedly not the same instance. - - - - - Creates a new instance of the class. - - The expected object reference - The actual object reference - - - - Exception thrown when the collection did not contain exactly one element. - - - - - Creates an instance of for when the collection didn't contain any of the expected value. - - - - - Creates an instance of for when the collection had too many of the expected items. - - - - - - Exception thrown when a test should be skipped. - - - - - Creates a new instance of the class. This is a special - exception that, when thrown, will cause xUnit.net to mark your test as skipped - rather than failed. - - - - - Exception thrown when a string does not start with the expected value. - - - - - Creates a new instance of the class. - - The expected string value - The actual value - - - - Exception thrown when a set is not a subset of another set. - - - - - Creates a new instance of the class. - - - - - Exception thrown when a set is not a superset of another set. - - - - - Creates a new instance of the class. - - - - - Exception thrown when code unexpectedly fails to throw an exception. - - - - - Creates a new instance of the class. Call this constructor - when no exception was thrown. - - The type of the exception that was expected - - - - Creates a new instance of the class. Call this constructor - when an exception of the wrong type was thrown. - - The type of the exception that was expected - The actual exception that was thrown - - - - THIS CONSTRUCTOR IS FOR UNIT TESTING PURPOSES ONLY. - - - - - Gets a string representation of the frames on the call stack at the time the current exception was thrown. - - A string that describes the contents of the call stack, with the most recent method call appearing first. - - - - Exception thrown when a value is unexpectedly false. - - - - - Creates a new instance of the class. - - The user message to be displayed, or null for the default message - The actual value - - - - The base assert exception class - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The user message to be displayed - - - - Initializes a new instance of the class. - - The user message to be displayed - The inner exception - - - - Initializes a new instance of the class. - - The user message to be displayed - The stack trace to be displayed - - - - Gets a string representation of the frames on the call stack at the time the current exception was thrown. - - A string that describes the contents of the call stack, with the most recent method call appearing first. - - - - Gets the user message - - - - - - - - This is a marker interface implemented by all built-in assertion exceptions so that - test failures can be marked with . - - - - Specifies that null is allowed as an input even if the corresponding type disallows it. - - - Specifies that null is disallowed as an input even if the corresponding type allows it. - - - Specifies that an output may be null even if the corresponding type disallows it. - - - Specifies that an output will not be null even if the corresponding type allows it. - - - Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter may be null. - - - - Gets the return value condition. - - - Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it. - - - Initializes the attribute with the specified return value condition. - - The return value condition. If the method returns this value, the associated parameter will not be null. - - - - Gets the return value condition. - - - Specifies that the output will be non-null if the named parameter is non-null. - - - Initializes the attribute with the associated parameter name. - - The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null. - - - - Gets the associated parameter name. - - - Applied to a method that will never return under any circumstance. - - - Specifies that the method will not return if the associated Boolean parameter is passed the specified value. - - - Initializes the attribute with the specified parameter value. - - The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to - the associated parameter matches this value. - - - - Gets the condition parameter value. - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/xunit.assert.2.4.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/xunit.assert.2.4.2.nupkg deleted file mode 100644 index 7a20fb7a..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.assert.2.4.2/xunit.assert.2.4.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/.signature.p7s deleted file mode 100644 index 026ec752..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.props b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.props deleted file mode 100644 index bd6b0bd0..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - true - true - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.targets deleted file mode 100644 index 770ea862..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/build/xunit.core.targets +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - true - full - true - - - - - portable - true - true - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.props b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.props deleted file mode 100644 index bd6b0bd0..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.props +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - true - true - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.targets deleted file mode 100644 index 770ea862..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/buildMultiTargeting/xunit.core.targets +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - true - full - true - - - - - portable - true - true - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/xunit.core.2.4.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/xunit.core.2.4.2.nupkg deleted file mode 100644 index b32722ff..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.core.2.4.2/xunit.core.2.4.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/.signature.p7s deleted file mode 100644 index e44ff7ad..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll deleted file mode 100644 index 2969fc9c..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll.tdnet b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll.tdnet deleted file mode 100644 index 9473f197..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.dll.tdnet +++ /dev/null @@ -1,5 +0,0 @@ - - xUnit.net {0}.{1}.{2} - xunit.runner.tdnet.dll - Xunit.Runner.TdNet.TdNetRunner - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.xml deleted file mode 100644 index 3b5aecdc..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.core.xml +++ /dev/null @@ -1,1255 +0,0 @@ - - - - xunit.core - - - - - Attribute used to decorate an assembly with arbitrary name/value pairs ("traits"). - - - - - Creates a new instance of the class. - - The trait name - The trait value - - - - Provides a data source for a data theory, with the data coming from a class - which must implement IEnumerable<object[]>. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The class that provides the data. - - - - Gets the type of the class that provides the data. - - - - - - - - Used to declare a specific test collection for a test class. - - - - - Initializes a new instance of the class. - - The test collection name. - - - - Defines the built-in behavior types for collections in xUnit.net. - - - - - By default, generates a collection per assembly, and any test classes that are not - decorated with will be placed into the assembly-level - collection. - - - - - By default, generates a collection per test class for any test classes that are not - decorated with . - - - - - Used to declare the default test collection behavior for the assembly. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The collection behavior for the assembly. - - - - Initializes a new instance of the class. - - The type name of the test collection factory (that implements ). - The assembly that exists in. - - - - Determines whether tests in this assembly are run in parallel. - - - - - Determines how many tests can run in parallel with each other. If set to 0, the system will - use . If set to a negative number, then there will - be no limit to the number of threads. - - - - - Used to declare a test collection container class. The container class gives - developers a place to attach interfaces like and - that will be applied to all tests classes - that are members of the test collection. - - - - - Initializes a new instance of the class. - - The test collection name. - - - - Determines whether tests in this collection runs in parallel with any other collections. - - - - - - - - - - - - - - Attribute that is applied to a method to indicate that it is a fact that should be run - by the test runner. It can also be extended to support a customized definition of a - test method. - - - - - Gets the name of the test to be used when the test is skipped. Defaults to - null, which will cause the fully qualified test name to be used. - - - - - Marks the test so that it will not be run, and gets or sets the skip reason - - - - - Marks the test as having a timeout, and gets or sets the timeout (in milliseconds). - WARNING: Using this with parallelization turned on will result in undefined behavior. - Timeout is only supported when parallelization is disabled, either globally or with - a parallelization-disabled test collection. - - - - - Used to provide asynchronous lifetime functionality. Currently supported: - - Test classes - - Classes used in - - Classes used in . - - - - - Called immediately after the class has been created, before it is used. - - - - - Called when an object is no longer needed. Called just before - if the class also implements that. - - - - - Used to decorate xUnit.net test classes and collections to indicate a test which has - per-test-class fixture data. An instance of the fixture data is initialized just before - the first test in the class is run, and if it implements IDisposable, is disposed - after the last test in the class is run. To gain access to the fixture data from - inside the test, a constructor argument should be added to the test class which - exactly matches the . Class fixtures must have a - single parameterless constructor, and may take collection fixture types as constructor - arguments. - - The type of the fixture. - - If asynchronous setup of is required - it should implement the interface. - - - - - Used to decorate xUnit.net test classes and collections to indicate a test which has - per-test-collection fixture data. An instance of the fixture data is initialized just before - the first test in the collection is run, and if it implements IDisposable, is disposed - after the last test in the collection is run. To gain access to the fixture data from - inside the test, a constructor argument should be added to the test class which - exactly matches the . - - The type of the fixture. - - If asynchronous setup of is required - it should implement the interface. - - - - - Provides a data source for a data theory, with the data coming from inline values. - - - - - Initializes a new instance of the class. - - The data values to pass to the theory. - - - - - - - A class implements this interface to participate in ordering tests - for the test runner. Test collection orderers are applied using the - , which can be applied at - the assembly level. - - - - - Orders test collections for execution. - - The test collections to be ordered. - The test collections in the order to be run. - - - - Provides a data source for a data theory, with the data coming from one of the following sources: - 1. A static property - 2. A static field - 3. A static method (with parameters) - The member must return something compatible with IEnumerable<object[]> with the test data. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The name of the public static member on the test class that will provide the test data - The parameters for the member (only supported for methods; ignored for everything else) - - - - - - - Provides a base class for attributes that will provide member data. The member data must return - something compatible with . - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The name of the public static member on the test class that will provide the test data - The parameters for the member (only supported for methods; ignored for everything else) - - - - Returns true if the data attribute wants to skip enumerating data during discovery. - This will cause the theory to yield a single test case for all data, and the data discovery - will be during test execution instead of discovery. - - - - - Gets the member name. - - - - - Gets or sets the type to retrieve the member from. If not set, then the property will be - retrieved from the unit test class. - - - - - Gets or sets the parameters passed to the member. Only supported for static methods. - - - - - - - - Converts an item yielded by the data member to an object array, for return from . - - The method that is being tested. - An item yielded from the data member. - An suitable for return from . - - - - Allows the user to record actions for a test. - - - - - Records any exception which is thrown by the given code. - - The code which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - Records any exception which is thrown by the given code that has - a return value. Generally used for testing property accessors. - - The code which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - - - - Records any exception which is thrown by the given task. - - The task which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - - - - The implementation of which returns the trait values - for . - - - - - - - - Base attribute which indicates a test method interception (allows code to be run before and - after the test is run). - - - - - This method is called after the test method is executed. - - The method under test - - - - This method is called before the test method is executed. - - The method under test - - - - Abstract attribute which represents a data source for a data theory. - Data source providers derive from this attribute and implement GetData - to return the data for the theory. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Returns the data to be used to test the theory. - - The method that is being tested - One or more sets of theory data. Each invocation of the test method - is represented by a single object array. - - - - Marks all test cases generated by this data source as skipped. - - - - - Default implementation of . Uses reflection to find the - data associated with ; may return null when called - without reflection-based abstraction implementations. - - - - - - - - - - - An attribute used to decorate classes which derive from , - to indicate how data elements should be discovered. - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.DataDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - Aggregates exceptions. Intended to run one or more code blocks, and collect the - exceptions thrown by those code blocks. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class that - contains the exception list of its parent. - - The parent aggregator to copy exceptions from. - - - - Returns true if the aggregator has at least one exception inside it. - - - - - Adds an exception to the aggregator. - - The exception to be added. - - - - Adds exceptions from another aggregator into this aggregator. - - The aggregator whose exceptions should be copied. - - - - Clears the aggregator. - - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Returns an exception that represents the exceptions thrown by the code - passed to the or method. - - Returns null if no exceptions were thrown; returns the - exact exception if a single exception was thrown; returns - if more than one exception was thrown. - - - - This class is responsible for discovering the data available in an implementation - of . The discovery process may not always have access - to reflection (i.e., running in Resharper), so the discoverer must make a best - effort to return data, but may return null when there is not enough information - available (for example, if reflection is required to answer the question). - - - - - Returns the data to be used to test the theory. - - - This will be called during - discovery, at which point the may or may not - be backed by reflection (i.e., implementing ). - If the data is not available because reflection is required, then you may return - null to inform xUnit that the quantity of data is unknown at this point. - When the tests are run, if you returned back null during discovery, then this method - will be called again to retrieve the data, this time guaranteed to provide - an implementation of . At this time, you - must return the actual data, and returning null is not legal. - - The data attribute being discovered - The method that is being tested/discovered - The theory data (or null during discovery, if not enough - information is available to enumerate the data) - - - - Returns true if the data attribute supports enumeration during - discovery; false otherwise. Data attributes with expensive computational - costs and/or randomized data sets should return false. - - - - - Used by discovery, execution, and extensibility code to send messages to the runner. - - - - - Queues a message to be sent to the runner. - - The message to be sent to the runner - - Returns true if discovery/execution should continue; false, otherwise. - The return value may be safely ignored by components which are not directly responsible - for discovery or execution, and this is intended to communicate to those sub-systems that - that they should short circuit and stop their work as quickly as is reasonable. - - - - - Implementation of used to discover the data - provided by . - - - - - - - - - - - A class implements this interface to participate in ordering tests - for the test runner. Test case orderers are applied using the - , which can be applied at - the assembly, test collection, and test class level. - - - - - Orders test cases for execution. - - The test cases to be ordered. - The test cases in the order to be run. - - - - Marker interface that must be implemented by test framework attributes, so - that the test framework attribute discoverer can find them. - - - - - Interface to be implemented by classes which are used to discover the test framework. - - - - - Gets the type that implements to be used to discover - and run tests. - - The test framework attribute that decorated the assembly - The test framework type - - - - Marker interface used by attributes which provide trait data. - - - - - This interface is implemented by discoverers that provide trait values to - xUnit.net v2 tests. - - - - - Gets the trait values from the trait attribute. - - The trait attribute containing the trait values. - The trait values. - - - - Represents a single test case from xUnit.net v2. - - - - - Gets the exception that happened during initialization. When this is set, then - the test execution should fail with this exception. - - - - - Gets the method to be run. Differs from . in that - any generic argument types will have been closed based on the arguments. - - - - - Gets the timeout of the test, in milliseconds; if zero or negative, means the test case has no timeout. - - - - - Executes the test case, returning 0 or more result messages through the message sink. - - The message sink used to send diagnostic messages to. - The message bus to report results to. - The arguments to pass to the constructor. - The error aggregator to use for catching exception. - The cancellation token source that indicates whether cancellation has been requested. - Returns the summary of the test case run. - - - - Interface to be implemented by classes which are used to discover tests cases attached - to test methods that are attributed with (or a subclass). - - - - - Discover test cases from a test method. - - The discovery options to be used. - The test method the test cases belong to. - The fact attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - This interface is intended to be implemented by components which generate test collections. - End users specify the desired test collection factory by applying - at the assembly level. Classes which implement this interface must have a constructor - that takes and . - - - - - Gets the display name for the test collection factory. This information is shown to the end - user as part of the description of the test environment. - - - - - Gets the test collection for a given test class. - - The test class. - The test collection. - - - - Implementation of for discovering . - - - - - - - - Marks an assembly as a platform specific assembly for use with xUnit.net. Type references from - such assemblies are allowed to use a special suffix ("My.Assembly.{Platform}"), which will - automatically be translated into the correct platform-specific name ("My.Assembly.desktop", - "My.Assembly.win8", etc.). This affects both extensibility points which require specifying - a string-based type name and assembly, as well as serialization. - - In v2.1 and later, the supported platform target names include: - - "desktop" (for desktop and PCL tests), - "dotnet" (everything else). - - In v2.0, the following names were also supported: - - "iOS-Universal" (for Xamarin test projects targeting iOS), - "MonoAndroid" (for Xamarin MonoAndroid tests), - "MonoTouch" (for Xamarin MonoTouch tests), - "universal" (for Windows Phone 8.1 and Windows 8.1 tests), - "win8" (for Windows 8 tests), - "wp8" (for Windows Phone 8 Silverlight tests). - - For backward compatibility reasons, the v2.1 runners will support tests linked against - the v2.0 execution libraries. - - Note that file names may be case sensitive (when running on platforms with case sensitive - file systems like Linux), so ensure that your assembly file name casing is consistent, and - that you use the suffixes here with the exact case shown. - - - - - Represents the statistical summary from a run of one or more tests. - - - - - The total number of tests run. - - - - - The number of failed tests. - - - - - The number of skipped tests. - - - - - The total time taken to run the tests, in seconds. - - - - - Adds a run summary's totals into this run summary. - - The run summary to be added. - - - - Decorates an implementation of that is used to - determine which test framework is used to discover and run tests. - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.DataDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - The implementation of which returns the trait values - for . - - - - - - - - An attribute used to decorate classes which implement , - to indicate how trait values should be discovered. The discoverer type must implement - . - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.TraitDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - An attribute used to decorate classes which derive from , - to indicate how test cases should be discovered. - - - - - Initializes an instance of the class. - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.FactDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - Indicates the default display name format for test methods. - - - - - Use a fully qualified name (namespace + class + method) - - - - - Use just the method name (without class) - - - - - Indicates the method display options for test methods. - - - - - Indicates no additional method display options. - - This is the default configuration option. - - - - Replace underscores in display names with a space. - - - - - Replace well-known monikers with their equivalent operator. - - - lt : < - le : <= - eq : = - ne : != - gt : > - ge : >= - - - - - Replace supported escape sequences with their equivalent character. - - - Encoding - Format - - ASCIIX hex-digit hex-digit (ex: X2C) - UnicodeU hex-digit hex-digit hex-digit hex-digit (ex: U00A9) - - - - - - Replaces the period delimiter used in namespace and type references with a comma. - - This option is only honored if the setting is also enabled. - - - - Enables all method display options. - - - - - Formats arguments for display in theories. - - - - - Format the value for presentation. - - The value to be formatted. - - - The formatted value. - - - - Format the value for presentation. - - The value to be formatted. - - The formatted value. - - - - Default implementation of used by the xUnit.net equality assertions. - - The type that is being compared. - - - - Initializes a new instance of the class. - - The inner comparer to be used when the compared objects are enumerable. - - - - - - - - - - - - - A class that wraps to create . - - The type that is being compared. - - - - Initializes a new instance of the class. - - The comparer that is being adapted. - - - - - - - - - - Used to decorate an assembly, test collection, or test class to allow - the use of a custom . - - - - - Initializes a new instance of the class. - - The type name of the orderer class (that implements ). - The assembly that exists in. - - - - Used to decorate an assembly to allow the use of a custom . - - - - - Initializes a new instance of the class. - - The type name of the orderer class (that implements ). - The assembly that exists in. - - - - Used to decorate an assembly to allow the use of a custom . - - - - - Initializes an instance of . - - The fully qualified type name of the test framework - (f.e., 'Xunit.Sdk.XunitTestFramework') - The name of the assembly that the test framework type - is located in, without file extension (f.e., 'xunit.execution') - - - - Marks a test method as being a data theory. Data theories are tests which are fed - various bits of data from a data source, mapping to parameters on the test method. - If the data source contains multiple rows, then the test method is executed - multiple times (once with each data row). Data is provided by attributes which - derive from (notably, and - ). - - - - - Provides data for theories based on collection initialization syntax. - - - - - Adds a row to the theory. - - The values to be added. - - - - - - - - - - Represents a set of data for a theory with a single parameter. Data can - be added to the data set using the collection initializer syntax. - - The parameter type. - - - - Adds data to the theory data set. - - The data value. - - - - Represents a set of data for a theory with 2 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - - - - Represents a set of data for a theory with 3 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - - - - Represents a set of data for a theory with 4 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - The nineth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - The nineth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - The nineth parameter type. - The tenth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - The nineth data value. - The tenth data value. - - - - Attribute used to decorate a test method with arbitrary name/value pairs ("traits"). - - - - - Creates a new instance of the class. - - The trait name - The trait value - - - - Rethrows an exception object without losing the existing stack trace information - - The exception to re-throw. - - For more information on this technique, see - http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx. - The remote_stack_trace string is here to support Mono. - - - - - Unwraps an exception to remove any wrappers, like . - - The exception to unwrap. - The unwrapped exception. - - - - Guard class, used for guard clauses and argument validation - - - - - - - - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.tdnet.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.tdnet.dll deleted file mode 100644 index e1d6509f..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.tdnet.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.utility.net452.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.utility.net452.dll deleted file mode 100644 index 58e49e45..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/net452/xunit.runner.utility.net452.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.dll deleted file mode 100644 index fbc38a54..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.xml deleted file mode 100644 index 3b5aecdc..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/lib/netstandard1.1/xunit.core.xml +++ /dev/null @@ -1,1255 +0,0 @@ - - - - xunit.core - - - - - Attribute used to decorate an assembly with arbitrary name/value pairs ("traits"). - - - - - Creates a new instance of the class. - - The trait name - The trait value - - - - Provides a data source for a data theory, with the data coming from a class - which must implement IEnumerable<object[]>. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The class that provides the data. - - - - Gets the type of the class that provides the data. - - - - - - - - Used to declare a specific test collection for a test class. - - - - - Initializes a new instance of the class. - - The test collection name. - - - - Defines the built-in behavior types for collections in xUnit.net. - - - - - By default, generates a collection per assembly, and any test classes that are not - decorated with will be placed into the assembly-level - collection. - - - - - By default, generates a collection per test class for any test classes that are not - decorated with . - - - - - Used to declare the default test collection behavior for the assembly. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The collection behavior for the assembly. - - - - Initializes a new instance of the class. - - The type name of the test collection factory (that implements ). - The assembly that exists in. - - - - Determines whether tests in this assembly are run in parallel. - - - - - Determines how many tests can run in parallel with each other. If set to 0, the system will - use . If set to a negative number, then there will - be no limit to the number of threads. - - - - - Used to declare a test collection container class. The container class gives - developers a place to attach interfaces like and - that will be applied to all tests classes - that are members of the test collection. - - - - - Initializes a new instance of the class. - - The test collection name. - - - - Determines whether tests in this collection runs in parallel with any other collections. - - - - - - - - - - - - - - Attribute that is applied to a method to indicate that it is a fact that should be run - by the test runner. It can also be extended to support a customized definition of a - test method. - - - - - Gets the name of the test to be used when the test is skipped. Defaults to - null, which will cause the fully qualified test name to be used. - - - - - Marks the test so that it will not be run, and gets or sets the skip reason - - - - - Marks the test as having a timeout, and gets or sets the timeout (in milliseconds). - WARNING: Using this with parallelization turned on will result in undefined behavior. - Timeout is only supported when parallelization is disabled, either globally or with - a parallelization-disabled test collection. - - - - - Used to provide asynchronous lifetime functionality. Currently supported: - - Test classes - - Classes used in - - Classes used in . - - - - - Called immediately after the class has been created, before it is used. - - - - - Called when an object is no longer needed. Called just before - if the class also implements that. - - - - - Used to decorate xUnit.net test classes and collections to indicate a test which has - per-test-class fixture data. An instance of the fixture data is initialized just before - the first test in the class is run, and if it implements IDisposable, is disposed - after the last test in the class is run. To gain access to the fixture data from - inside the test, a constructor argument should be added to the test class which - exactly matches the . Class fixtures must have a - single parameterless constructor, and may take collection fixture types as constructor - arguments. - - The type of the fixture. - - If asynchronous setup of is required - it should implement the interface. - - - - - Used to decorate xUnit.net test classes and collections to indicate a test which has - per-test-collection fixture data. An instance of the fixture data is initialized just before - the first test in the collection is run, and if it implements IDisposable, is disposed - after the last test in the collection is run. To gain access to the fixture data from - inside the test, a constructor argument should be added to the test class which - exactly matches the . - - The type of the fixture. - - If asynchronous setup of is required - it should implement the interface. - - - - - Provides a data source for a data theory, with the data coming from inline values. - - - - - Initializes a new instance of the class. - - The data values to pass to the theory. - - - - - - - A class implements this interface to participate in ordering tests - for the test runner. Test collection orderers are applied using the - , which can be applied at - the assembly level. - - - - - Orders test collections for execution. - - The test collections to be ordered. - The test collections in the order to be run. - - - - Provides a data source for a data theory, with the data coming from one of the following sources: - 1. A static property - 2. A static field - 3. A static method (with parameters) - The member must return something compatible with IEnumerable<object[]> with the test data. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The name of the public static member on the test class that will provide the test data - The parameters for the member (only supported for methods; ignored for everything else) - - - - - - - Provides a base class for attributes that will provide member data. The member data must return - something compatible with . - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Initializes a new instance of the class. - - The name of the public static member on the test class that will provide the test data - The parameters for the member (only supported for methods; ignored for everything else) - - - - Returns true if the data attribute wants to skip enumerating data during discovery. - This will cause the theory to yield a single test case for all data, and the data discovery - will be during test execution instead of discovery. - - - - - Gets the member name. - - - - - Gets or sets the type to retrieve the member from. If not set, then the property will be - retrieved from the unit test class. - - - - - Gets or sets the parameters passed to the member. Only supported for static methods. - - - - - - - - Converts an item yielded by the data member to an object array, for return from . - - The method that is being tested. - An item yielded from the data member. - An suitable for return from . - - - - Allows the user to record actions for a test. - - - - - Records any exception which is thrown by the given code. - - The code which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - Records any exception which is thrown by the given code that has - a return value. Generally used for testing property accessors. - - The code which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - - - - Records any exception which is thrown by the given task. - - The task which may throw an exception. - Returns the exception that was thrown by the code; null, otherwise. - - - - - - - The implementation of which returns the trait values - for . - - - - - - - - Base attribute which indicates a test method interception (allows code to be run before and - after the test is run). - - - - - This method is called after the test method is executed. - - The method under test - - - - This method is called before the test method is executed. - - The method under test - - - - Abstract attribute which represents a data source for a data theory. - Data source providers derive from this attribute and implement GetData - to return the data for the theory. - Caution: the property is completely enumerated by .ToList() before any test is run. Hence it should return independent object sets. - - - - - Returns the data to be used to test the theory. - - The method that is being tested - One or more sets of theory data. Each invocation of the test method - is represented by a single object array. - - - - Marks all test cases generated by this data source as skipped. - - - - - Default implementation of . Uses reflection to find the - data associated with ; may return null when called - without reflection-based abstraction implementations. - - - - - - - - - - - An attribute used to decorate classes which derive from , - to indicate how data elements should be discovered. - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.DataDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - Aggregates exceptions. Intended to run one or more code blocks, and collect the - exceptions thrown by those code blocks. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class that - contains the exception list of its parent. - - The parent aggregator to copy exceptions from. - - - - Returns true if the aggregator has at least one exception inside it. - - - - - Adds an exception to the aggregator. - - The exception to be added. - - - - Adds exceptions from another aggregator into this aggregator. - - The aggregator whose exceptions should be copied. - - - - Clears the aggregator. - - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Runs the code, catching the exception that is thrown and adding it to - the aggregate. - - The code to be run. - - - - Returns an exception that represents the exceptions thrown by the code - passed to the or method. - - Returns null if no exceptions were thrown; returns the - exact exception if a single exception was thrown; returns - if more than one exception was thrown. - - - - This class is responsible for discovering the data available in an implementation - of . The discovery process may not always have access - to reflection (i.e., running in Resharper), so the discoverer must make a best - effort to return data, but may return null when there is not enough information - available (for example, if reflection is required to answer the question). - - - - - Returns the data to be used to test the theory. - - - This will be called during - discovery, at which point the may or may not - be backed by reflection (i.e., implementing ). - If the data is not available because reflection is required, then you may return - null to inform xUnit that the quantity of data is unknown at this point. - When the tests are run, if you returned back null during discovery, then this method - will be called again to retrieve the data, this time guaranteed to provide - an implementation of . At this time, you - must return the actual data, and returning null is not legal. - - The data attribute being discovered - The method that is being tested/discovered - The theory data (or null during discovery, if not enough - information is available to enumerate the data) - - - - Returns true if the data attribute supports enumeration during - discovery; false otherwise. Data attributes with expensive computational - costs and/or randomized data sets should return false. - - - - - Used by discovery, execution, and extensibility code to send messages to the runner. - - - - - Queues a message to be sent to the runner. - - The message to be sent to the runner - - Returns true if discovery/execution should continue; false, otherwise. - The return value may be safely ignored by components which are not directly responsible - for discovery or execution, and this is intended to communicate to those sub-systems that - that they should short circuit and stop their work as quickly as is reasonable. - - - - - Implementation of used to discover the data - provided by . - - - - - - - - - - - A class implements this interface to participate in ordering tests - for the test runner. Test case orderers are applied using the - , which can be applied at - the assembly, test collection, and test class level. - - - - - Orders test cases for execution. - - The test cases to be ordered. - The test cases in the order to be run. - - - - Marker interface that must be implemented by test framework attributes, so - that the test framework attribute discoverer can find them. - - - - - Interface to be implemented by classes which are used to discover the test framework. - - - - - Gets the type that implements to be used to discover - and run tests. - - The test framework attribute that decorated the assembly - The test framework type - - - - Marker interface used by attributes which provide trait data. - - - - - This interface is implemented by discoverers that provide trait values to - xUnit.net v2 tests. - - - - - Gets the trait values from the trait attribute. - - The trait attribute containing the trait values. - The trait values. - - - - Represents a single test case from xUnit.net v2. - - - - - Gets the exception that happened during initialization. When this is set, then - the test execution should fail with this exception. - - - - - Gets the method to be run. Differs from . in that - any generic argument types will have been closed based on the arguments. - - - - - Gets the timeout of the test, in milliseconds; if zero or negative, means the test case has no timeout. - - - - - Executes the test case, returning 0 or more result messages through the message sink. - - The message sink used to send diagnostic messages to. - The message bus to report results to. - The arguments to pass to the constructor. - The error aggregator to use for catching exception. - The cancellation token source that indicates whether cancellation has been requested. - Returns the summary of the test case run. - - - - Interface to be implemented by classes which are used to discover tests cases attached - to test methods that are attributed with (or a subclass). - - - - - Discover test cases from a test method. - - The discovery options to be used. - The test method the test cases belong to. - The fact attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - This interface is intended to be implemented by components which generate test collections. - End users specify the desired test collection factory by applying - at the assembly level. Classes which implement this interface must have a constructor - that takes and . - - - - - Gets the display name for the test collection factory. This information is shown to the end - user as part of the description of the test environment. - - - - - Gets the test collection for a given test class. - - The test class. - The test collection. - - - - Implementation of for discovering . - - - - - - - - Marks an assembly as a platform specific assembly for use with xUnit.net. Type references from - such assemblies are allowed to use a special suffix ("My.Assembly.{Platform}"), which will - automatically be translated into the correct platform-specific name ("My.Assembly.desktop", - "My.Assembly.win8", etc.). This affects both extensibility points which require specifying - a string-based type name and assembly, as well as serialization. - - In v2.1 and later, the supported platform target names include: - - "desktop" (for desktop and PCL tests), - "dotnet" (everything else). - - In v2.0, the following names were also supported: - - "iOS-Universal" (for Xamarin test projects targeting iOS), - "MonoAndroid" (for Xamarin MonoAndroid tests), - "MonoTouch" (for Xamarin MonoTouch tests), - "universal" (for Windows Phone 8.1 and Windows 8.1 tests), - "win8" (for Windows 8 tests), - "wp8" (for Windows Phone 8 Silverlight tests). - - For backward compatibility reasons, the v2.1 runners will support tests linked against - the v2.0 execution libraries. - - Note that file names may be case sensitive (when running on platforms with case sensitive - file systems like Linux), so ensure that your assembly file name casing is consistent, and - that you use the suffixes here with the exact case shown. - - - - - Represents the statistical summary from a run of one or more tests. - - - - - The total number of tests run. - - - - - The number of failed tests. - - - - - The number of skipped tests. - - - - - The total time taken to run the tests, in seconds. - - - - - Adds a run summary's totals into this run summary. - - The run summary to be added. - - - - Decorates an implementation of that is used to - determine which test framework is used to discover and run tests. - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.DataDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - The implementation of which returns the trait values - for . - - - - - - - - An attribute used to decorate classes which implement , - to indicate how trait values should be discovered. The discoverer type must implement - . - - - - - Initializes an instance of . - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.TraitDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - An attribute used to decorate classes which derive from , - to indicate how test cases should be discovered. - - - - - Initializes an instance of the class. - - The fully qualified type name of the discoverer - (f.e., 'Xunit.Sdk.FactDiscoverer') - The name of the assembly that the discoverer type - is located in, without file extension (f.e., 'xunit.execution') - - - - Indicates the default display name format for test methods. - - - - - Use a fully qualified name (namespace + class + method) - - - - - Use just the method name (without class) - - - - - Indicates the method display options for test methods. - - - - - Indicates no additional method display options. - - This is the default configuration option. - - - - Replace underscores in display names with a space. - - - - - Replace well-known monikers with their equivalent operator. - - - lt : < - le : <= - eq : = - ne : != - gt : > - ge : >= - - - - - Replace supported escape sequences with their equivalent character. - - - Encoding - Format - - ASCIIX hex-digit hex-digit (ex: X2C) - UnicodeU hex-digit hex-digit hex-digit hex-digit (ex: U00A9) - - - - - - Replaces the period delimiter used in namespace and type references with a comma. - - This option is only honored if the setting is also enabled. - - - - Enables all method display options. - - - - - Formats arguments for display in theories. - - - - - Format the value for presentation. - - The value to be formatted. - - - The formatted value. - - - - Format the value for presentation. - - The value to be formatted. - - The formatted value. - - - - Default implementation of used by the xUnit.net equality assertions. - - The type that is being compared. - - - - Initializes a new instance of the class. - - The inner comparer to be used when the compared objects are enumerable. - - - - - - - - - - - - - A class that wraps to create . - - The type that is being compared. - - - - Initializes a new instance of the class. - - The comparer that is being adapted. - - - - - - - - - - Used to decorate an assembly, test collection, or test class to allow - the use of a custom . - - - - - Initializes a new instance of the class. - - The type name of the orderer class (that implements ). - The assembly that exists in. - - - - Used to decorate an assembly to allow the use of a custom . - - - - - Initializes a new instance of the class. - - The type name of the orderer class (that implements ). - The assembly that exists in. - - - - Used to decorate an assembly to allow the use of a custom . - - - - - Initializes an instance of . - - The fully qualified type name of the test framework - (f.e., 'Xunit.Sdk.XunitTestFramework') - The name of the assembly that the test framework type - is located in, without file extension (f.e., 'xunit.execution') - - - - Marks a test method as being a data theory. Data theories are tests which are fed - various bits of data from a data source, mapping to parameters on the test method. - If the data source contains multiple rows, then the test method is executed - multiple times (once with each data row). Data is provided by attributes which - derive from (notably, and - ). - - - - - Provides data for theories based on collection initialization syntax. - - - - - Adds a row to the theory. - - The values to be added. - - - - - - - - - - Represents a set of data for a theory with a single parameter. Data can - be added to the data set using the collection initializer syntax. - - The parameter type. - - - - Adds data to the theory data set. - - The data value. - - - - Represents a set of data for a theory with 2 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - - - - Represents a set of data for a theory with 3 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - - - - Represents a set of data for a theory with 4 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - The nineth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - The nineth data value. - - - - Represents a set of data for a theory with 5 parameters. Data can - be added to the data set using the collection initializer syntax. - - The first parameter type. - The second parameter type. - The third parameter type. - The fourth parameter type. - The fifth parameter type. - The sixth parameter type. - The seventh parameter type. - The eigth parameter type. - The nineth parameter type. - The tenth parameter type. - - - - Adds data to the theory data set. - - The first data value. - The second data value. - The third data value. - The fourth data value. - The fifth data value. - The sixth data value. - The seventh data value. - The eigth data value. - The nineth data value. - The tenth data value. - - - - Attribute used to decorate a test method with arbitrary name/value pairs ("traits"). - - - - - Creates a new instance of the class. - - The trait name - The trait value - - - - Rethrows an exception object without losing the existing stack trace information - - The exception to re-throw. - - For more information on this technique, see - http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx. - The remote_stack_trace string is here to support Mono. - - - - - Unwraps an exception to remove any wrappers, like . - - The exception to unwrap. - The unwrapped exception. - - - - Guard class, used for guard clauses and argument validation - - - - - - - - - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/xunit.extensibility.core.2.4.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/xunit.extensibility.core.2.4.2.nupkg deleted file mode 100644 index 6eab52db..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.core.2.4.2/xunit.extensibility.core.2.4.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/.signature.p7s deleted file mode 100644 index 3c835702..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/_content/logo-128-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/_content/logo-128-transparent.png deleted file mode 100644 index 9a8896bc..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/_content/logo-128-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.dll deleted file mode 100644 index 33c1e3fe..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.xml deleted file mode 100644 index edbed534..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/net452/xunit.execution.desktop.xml +++ /dev/null @@ -1,4225 +0,0 @@ - - - - xunit.execution.desktop - - - - - This class represents utility methods needed to supplement the - reflection capabilities provided by the CLR - - - - - Creates an instance of the test class for the given test case. Sends the - and messages as appropriate. - - The test - The type of the test class - The constructor arguments for the test class - The message bus used to send the test messages - The timer used to measure the time taken for construction - The cancellation token source - - - - - Disposes the test class instance. Sends the and - messages as appropriate. - - The test - The test class instance to be disposed - The message bus used to send the test messages - The timer used to measure the time taken for construction - The cancellation token source - - - - Gets methods in the target type that match the protection level of the supplied method - - The type - The method - The reflection method informations that match - - - - Gets all the custom attributes for the given assembly. - - The assembly - The type of the attribute - The matching attributes that decorate the assembly - - - - Gets all the custom attributes for the given attribute. - - The attribute - The type of the attribute to find - The matching attributes that decorate the attribute - - - - Gets all the custom attributes for the method that are of the given type. - - The method - The type of the attribute - The matching attributes that decorate the method - - - - Gets all the custom attributes for the given type. - - The type - The type of the attribute - The matching attributes that decorate the type - - - - Converts an into a , if possible (for example, this - will not work when the test method is based on source code rather than binaries). - - The method to convert - The runtime method, if available; null, otherwise - - - - Converts an into a , if possible (for example, this - will not work when the test class is based on source code rather than binaries). - - The type to convert - The runtime type, if available, null, otherwise - - - - Extension methods for reading and . - - - - - Gets a flag that determines whether diagnostic messages will be emitted. - - - - - Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, - returns the default value (false). - - - - - Gets a flag that determines the default display name format for test methods. - - - - - Gets a flag that determines the default display options to format test methods. - - - - - Gets a flag that determines the default display name format for test methods. If the flag is not present, - returns the default value (). - - - - - Gets the options that determine the default display formatting options for test methods. If no options are not present, - returns the default value (). - - - - - Gets a flag that determines whether theories are pre-enumerated. If they enabled, then the - discovery system will return a test case for each row of test data; they are disabled, then the - discovery system will return a single test case for the theory. - - - - - Gets a flag that determines whether theories are pre-enumerated. If enabled, then the - discovery system will return a test case for each row of test data; if disabled, then the - discovery system will return a single test case for the theory. If the flag is not present, - returns the default value (true). - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - If the flag is not set, returns the default value (false). - - - - - Gets a flag that determines whether diagnostic messages will be emitted. - - - - - Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not - present, returns the default value (false). - - - - - Gets a flag to disable parallelization. - - - - - Gets a flag to disable parallelization. If the flag is not present, returns the - default value (false). - - - - - Gets the maximum number of threads to use when running tests in parallel. - - - - - Gets the maximum number of threads to use when running tests in parallel. If set to 0 (or not set), - the value of is used; if set to a value less - than 0, does not limit the number of threads. - - - - - Gets a flag to stop testing on test failure. - - - - - Gets a flag to stop testing on test failure. If the flag is not present, returns the - default value (false). - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - If the flag is not set, returns the default value (false). - - - - - This implementation of allows the developer to track the count - of outstanding "async void" operations, and wait for them all to complete. - - - - - Initializes a new instance of the class. - - The existing synchronization context (may be null). - - - - - - - - - - - - - - - - Returns a task which is signaled when all outstanding operations are complete. - - - - - Default implementation of . Orders tests in - an unpredictable but stable order, so that repeated test runs of the - identical test assembly run tests in the same order. - - - - - Initializes a new instance of the class. - - Message sink to report diagnostic messages to - - - - - - - Default implementation of . Orders tests in - an unpredictable and unstable order, so that repeated test runs of the - identical test assembly run test collections in a random order. - - - - - - - - Tracks disposable objects, and disposes them in the reverse order they were added to - the tracker. - - - - - Add an object to be disposed. - - The object to be disposed. - - - - - - - Represents a caching factory for the types used for extensibility throughout the system. - - - - - Disposes the instances that are contained in the cache. - - - - - Gets an instance of the given type, casting it to , using the provided - constructor arguments. There is a single instance of a given type that is cached and reused, - so classes retrieved from this factory must be stateless and thread-safe. - - The interface type. - The message sink used to send diagnostic messages - The implementation type. - The constructor arguments. Since diagnostic message sinks are optional, - the code first looks for a type that takes the given arguments plus the message sink, and only - falls back to the message sink-less constructor if none was found. - The instance of the type. - - - - Gets a data discoverer. - - The message sink used to send diagnostic messages - The discoverer type - - - - Gets a data discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The data discoverer attribute - The data discoverer, if the type is loadable; null, otherwise. - - - - Gets a test case orderer. - - The message sink used to send diagnostic messages - The test case orderer type - - - - Gets a test case orderer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test case orderer attribute. - The test case orderer, if the type is loadable; null, otherwise. - - - - Gets a test collection orderer. - - The message sink used to send diagnostic messages - The test collection orderer type - - - - Gets a test collection orderer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test collection orderer attribute. - The test collection orderer, if the type is loadable; null, otherwise. - - - - Gets a test framework discoverer. - - The message sink used to send diagnostic messages - The test framework type discoverer type - - - - Gets a test framework discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test framework discoverer attribute - - - - Gets a trait discoverer. - - The message sink used to send diagnostic messages - The trait discoverer type - - - - Gets a trait discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The trait discoverer attribute. - The trait discoverer, if the type is loadable; null, otherwise. - - - - Gets an xUnit.net v2 test discoverer. - - The message sink used to send diagnostic messages - The test case discoverer type - - - - Gets an xUnit.net v2 test collection factory. - - The message sink used to send diagnostic messages - The test collection factory type - The test assembly under test - - - - Gets an xUnit.net v2 test collection factory, as specified in a reflected . - - The message sink used to send diagnostic messages - The collection behavior attribute. - The test assembly. - The collection factory. - - - - Implementation of that creates a single - default test collection for the assembly, and places any tests classes without - the into it. - - - - - Initializes a new instance of the class. - - The assembly. - The message sink used to send diagnostic messages - - - - - - - - - - Implementation of which creates a new test - collection for each test class that isn't decorated with . - - - - - Initializes a new instance of the class. - - The assembly info. - The message sink used to send diagnostic messages - - - - - - - - - - Represents a formatter that formats the display name of a class and/or method into a more - human readable form using additional options. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The used by the formatter. - The used by the formatter. - - - - Formats the specified display name. - - The display name to format. - The formatted display name. - - - - A simple implementation of that can be used to report an error - rather than running a test. - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method. - The error message to report for the test. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method. - The error message to report for the test. - - - - Gets the error message that will be display when the test is run. - - - - - - - - - - - - - - Measures and aggregates execution time of one or more actions. - - - - - Returns the total time aggregated across all the actions. - - - - - Executes an action and aggregates its run time into the total. - - The action to measure. - - - - Executes an asynchronous action and aggregates its run time into the total. - - The action to measure. - - - - Aggregates a time span into the total time. - - The time to add. - - - - Implementation of that supports finding test cases - on methods decorated with . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink used to report messages. - - - - - Creates a single for the given test method. - - The discovery options to be used. - The test method. - The attribute that decorates the test method. - - - - - Discover test cases from a test method. By default, if the method is generic, or - it contains arguments, returns a single ; - otherwise, it returns the result of calling . - - The discovery options to be used. - The test method the test cases belong to. - The fact attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - An implementation of to support . - - - - - Initializes a new instance of the class. - - The test case that the lambda represents. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - - - - A base class that provides default behavior when running tests in an assembly. It groups the tests - by test collection, and then runs the individual test collections. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The assembly that contains the tests to be run. - The test cases to be run. - The message sink to report diagnostic messages to. - The message sink to report run status to. - The user's requested execution options. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the user's requested execution options. - - - - - Gets or sets the message sink to report diagnostic messages to. - - - - - Gets or sets the message sink to report run status to. - - - - - Gets or sets the assembly that contains the tests to be run. - - - - - Gets or sets the test case orderer that will be used to decide how to order the tests. - - - - - Gets or sets the test collection orderer that will be used to decide how to order the test collections. - - - - - Gets or sets the test cases to be run. - - - - - - - - Override this to provide the display name for the test framework (f.e., "xUnit.net 2.0"). - This value is placed into . - - - - - Override this to provide the environment information (f.e., "32-bit .NET 4.0"). This value is - placed into . - - - - - This method is called just after is sent, but before any test collections are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Creates the message bus to be used for test execution. By default, it inspects - the options for the - flag, and if present, creates a message bus that ensures all messages are delivered - on the same thread. - - The message bus. - - - - Orders the test collections using the . - - Test collections (and the associated test cases) in run order - - - - Runs the tests in the test assembly. - - Returns summary information about the tests that were run. - - - - Runs the list of test collections. By default, groups the tests by collection and runs them synchronously. - - The message bus to report run status to. - The task cancellation token source, used to cancel the test run. - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test collection. - - The message bus to report run status to. - The test collection that is being run. - The test cases to be run. - The task cancellation token source, used to cancel the test run. - Returns summary information about the tests that were run. - - - - A base class that provides default behavior when running test cases. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test case to be run. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case to be run. - - - - - This method is called just after is sent, but before any test collections are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test case. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test method. - - Returns summary information about the tests that were run. - - - - A base class that provides default behavior when running tests in a test class. It groups the tests - by test method, and then runs the individual test methods. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test class to be run. - The test class that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the CLR class that contains the tests to be run. - - - - - Gets the message sink used to send diagnostic messages. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case orderer that will be used to decide how to order the test. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test class to be run. - - - - - Creates the arguments for the test class constructor. Attempts to resolve each parameter - individually, and adds an error when the constructor arguments cannot all be provided. - If the class is static, does not look for constructor, since one will not be needed. - - The test class constructor arguments. - - - - Gets the message to be used when the constructor is missing arguments. - - - - - This method is called just after is sent, but before any test methods are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test class. - - Returns summary information about the tests that were run. - - - - Runs the list of test methods. By default, orders the tests, groups them by method and runs them synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test method. - - The test method that contains the test cases. - The CLR method that contains the tests to be run. - The test cases to be run. - The constructor arguments that will be used to create the test class. - Returns summary information about the tests that were run. - - - - Selects the constructor to be used for the test class. By default, chooses the parameterless - constructor. Override to change the constructor selection logic. - - The constructor to be used for creating the test class. - - - - Tries to supply a test class constructor argument. By default, always fails. Override to - change the argument lookup logic. - - The constructor that will be used to create the test class. - The parameter index. - The parameter information. - The argument value that should be used for the parameter. - Returns true if the argument was supplied; false, otherwise. - - - - A base class that provides default behavior when running tests in a test collection. It groups the tests - by test class, and then runs the individual test classes. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test collection that contains the tests to be run. - The test cases to be run. - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case orderer that will be used to decide how to order the test. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test collection that contains the tests to be run. - - - - - This method is called just after is sent, but before any test classes are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test collection. - - Returns summary information about the tests that were run. - - - - Runs the list of test classes. By default, groups the tests by class and runs them synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test class. - - The test class to be run. - The CLR class that contains the tests to be run. - The test cases to be run. - Returns summary information about the tests that were run. - - - - A base class that provides default behavior to invoke a test method. This includes - support for async test methods (both "async Task" and "async void") as well as - creation and disposal of the test class. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the constructor arguments used to construct the test class. - - - - - Gets the display name of the invoked test. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test to be run. - - - - - Gets the test case to be run. - - - - - Gets or sets the runtime type of the class that contains the test method. - - - - - Gets or sets the runtime method of the method that contains the test. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - Gets or sets the object which measures execution time. - - - - - Creates the test class, unless the test method is static or there have already been errors. Note that - this method times the creation of the test class (using ). It is also responsible for - sending the and - messages, so if you override this method without calling the base, you are responsible for all of this behavior. - This method should NEVER throw; any exceptions should be placed into the . - - The class instance, if appropriate; null, otherwise - - - - This method is called just after the test method has finished executing. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before the test method is invoked. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method calls the test method via reflection. This is an available override point - if you need to do some other form of invocation of the actual test method. - - The instance of the test class - The return value from the test method invocation - - - - Given an object, will determine if it is an instance of (in which case, it is - directly returned), or an instance of - (in which case it is converted), or neither (in which case null is returned). - - The object to convert - - - - Creates the test class (if necessary), and invokes the test method. - - Returns the time (in seconds) spent creating the test class, running - the test, and disposing of the test class. - - - - Invokes the test method on the given test class instance. This method sets up support for "async void" - test methods, ensures that the test method has the correct number of arguments, then calls - to do the actual method invocation. It ensure that any async test method is fully completed before returning, and - returns the measured clock time that the invocation took. - - The test class instance - Returns the time taken to invoke the test method - - - - A base class that provides default behavior when running tests in a test method. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test method under test. - The CLR class that contains the test method. - The CLR method that contains the tests to be run. - The test cases to be run. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the CLR class that contains the test method. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the CLR method that contains the tests to be run. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test method that contains the test cases. - - - - - This method is called just after is sent, but before any test cases are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test method. - - Returns summary information about the tests that were run. - - - - Runs the list of test cases. By default, it runs the cases in order, synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run an individual test case. - - The test case to be run. - Returns summary information about the test case run. - - - - A base class that provides default behavior when running a test. This includes support - for skipping tests. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The skip reason, if the test is to be skipped. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the constructor arguments used to construct the test class. - - - - - Gets or sets the display name of the invoked test. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the skip reason for the test, if set. - - - - - Gets or sets the test to be run. - - - - - Gets the test case to be run. - - - - - Gets or sets the runtime type of the class that contains the test method. - - - - - Gets or sets the runtime method of the method that contains the test. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - This method is called just after is sent, but before the test class is created. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the test. - - Returns summary information about the test that was run. - - - - Override this method to invoke the test. - - The exception aggregator used to run code and collect exceptions. - Returns a tuple which includes the execution time (in seconds) spent running the - test method, and any output that was returned by the test. - - - - The test assembly runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The assembly that contains the tests to be run. - The test cases to be run. - The message sink to report diagnostic messages to. - The message sink to report run status to. - The user's requested execution options. - - - - - - - - - - - - - Gets the synchronization context used when potentially running tests in parallel. - If is greater than 0, it creates - and uses an instance of . - - The maximum number of parallel threads. - - - - Ensures the assembly runner is initialized (sets up the collection behavior, - parallelization options, and test orderers from their assembly attributes). - - - - - - - - - - - - - - - - - The test case runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test case to be run. - The display name of the test case. - The skip reason, if the test is to be skipped. - The arguments to be passed to the test class constructor. - The arguments to be passed to the test method. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s that will be used for this test case. - - - - - Gets or sets the arguments passed to the test class constructor - - - - - Gets or sets the display name of the test case - - - - - Gets or sets the skip reason for the test, if set. - - - - - Gets or sets the runtime type for the test class that the test method belongs to. - - - - - Gets of sets the runtime method for the test method that the test case belongs to. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - Creates the instance for the given test case. - - - - - Creates the test runner used to run the given test. - - - - - Gets the list of attributes that apply to this test case. - - - - - - - - The test class runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test class to be run. - The test class that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - The mapping of collection fixture types to fixtures. - - - - Gets the fixture mappings that were created during . - - - - - Gets the already initialized async fixtures . - - - - - Creates the instance of a class fixture type to be used by the test class. If the fixture can be created, - it should be placed into the dictionary; if it cannot, then the method - should record the error by calling Aggregator.Add. - - The type of the fixture to be created - - - - - - - - - - - - - - - - - - - - - - The test collection runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test collection that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the fixture mappings that were created during . - - - - - Gets the message sink used to send diagnostic messages. - - - - - - - - - - - Creates the instance of a collection fixture type to be used by the test collection. If the fixture can be created, - it should be placed into the dictionary; if it cannot, then the method - should record the error by calling Aggregator.Add. - - The type of the fixture to be created - - - - Gives an opportunity to override test case orderer. By default, this method gets the - orderer from the collection definition. If this function returns null, the - test case orderer passed into the constructor will be used. - - - - - - - - The test invoker for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The list of s for this test invocation. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s for this test invocation. - - - - - - - - - - - - - - The test method runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test method to be run. - The test class that contains the test method. - The test method that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages to. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - The constructor arguments for the test class. - - - - - - - The test runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The skip reason, if the test is to be skipped. - The list of s for this test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s for this test. - - - - - - - - Override this method to invoke the test method. - - The exception aggregator used to run code and collect exceptions. - Returns the execution time (in seconds) spent running the test method. - - - - The test case runner for xUnit.net v2 theories (which could not be pre-enumerated; - pre-enumerated test cases use ). - - - - - Initializes a new instance of the class. - - The test case to be run. - The display name of the test case. - The skip reason, if the test is to be skipped. - The arguments to be passed to the test class constructor. - The message sink used to send diagnostic messages - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the message sink used to report messages. - - - - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test assembly. - The optional configuration filename (defaults to the - configuration file of the current app domain if not provided) - The version number of the assembly (defaults to "0.0.0.0") - - - - - - - - - - Gets or sets the assembly version. - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test collection the class belongs to - The test class - - - - - - - - - - - - - - - - An implementation of for . - Compares the fully qualified names of the types. - - - - - The singleton instance of the comparer. - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test assembly the collection belongs to - The optional type which contains the collection definition - The display name for the test collection - - - - - - - - - - - - - - - - - - - - - - An implementation of for . - Compares the IDs of the test collections. - - - - - The singleton instance of the comparer. - - - - - - - - - - - A helper class that gets the list of test collection definitions for a given assembly. - Reports any misconfigurations of the test assembly via the diagnostic message sink. - - - - - Gets the test collection definitions for the given assembly. - - The assembly. - The message sink used to send diagnostic messages - A list of mappings from test collection name to test collection definitions (as - - - - A default implementation of that tracks objects to be - disposed when the framework is disposed. The discoverer and executor are automatically - tracked for disposal, since those interfaces mandate an implementation of . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink used to send diagnostic messages. - - - - - Gets the disposal tracker for the test framework. - - - - - - - - - - - Override this method to provide the implementation of . - - The assembly that is being discovered. - Returns the test framework discoverer. - - - - Override this method to provide the implementation of . - - The assembly that is being executed. - Returns the test framework executor. - - - - - - - - - - A base implementation of that supports test filtering - and runs the discovery process on a thread pool thread. - - - - - Initializes a new instance of the class. - - The test assembly. - The source information provider. - The message sink used to send diagnostic messages - - - - Gets the assembly that's being discovered. - - - - - Gets the message sink used to report diagnostic messages. - - - - - Gets the disposal tracker for the test framework discoverer. - - - - - Get the source code information provider used during discovery. - - - - - - - - - - - Implement this method to create a test class for the given CLR type. - - The CLR type. - The test class. - - - - - - - - - - - - - Core implementation to discover unit tests in a given test class. - - The test class. - Set to true to attempt to include source information. - The message sink to send discovery messages to. - The options used by the test framework during discovery. - Returns true if discovery should continue; false otherwise. - - - - Determines if a type should be used for discovery. Can be used to filter out types that - are not desirable. The default implementation filters out abstract (non-static) classes. - - The type. - Returns true if the type can contain tests; false, otherwise. - - - - Reports a discovered test case to the message bus, after updating the source code information - (if desired). - - - - - - - - - - - - A reusable implementation of which contains the basic behavior - for running tests. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - Name of the test assembly. - The source line number information provider. - The message sink to report diagnostic messages to. - - - - Gets the assembly information of the assembly under test. - - - - - Gets the message sink to send diagnostic messages to. - - - - - Gets the disposal tracker for the test framework discoverer. - - - - - Gets the source information provider. - - - - - Override to create a test framework discoverer that can be used to discover - tests when the user asks to run all test. - - The test framework discoverer - - - - - - - - - - - - - - - - Override to run test cases. - - The test cases to be run. - The message sink to report run status to. - The user's requested execution options. - - - - This class proxies for the real implementation of , based on - whether the user has overridden the choice via . If - no attribute is found, defaults to . - - - - - Initializes a new instance of the class. - - The test assembly (expected to implement ). - The source information provider (expected to implement ). - The diagnostic message sink (expected to implement ). - - - - Gets the test framework that's being wrapped by the proxy. - - - - - - - - - - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test class - The test method - - - - - - - - - - - - - - - - An implementation of for . - Compares the names of the methods. - - - - - The singleton instance of the comparer. - - - - - - - - - - - A base class implementation of which is based on test cases being - related directly to test methods. - - - - - Used for de-serialization. - - - - - Initializes a new instance of the class. - - Default method display to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Initializes a new instance of the class. - - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Returns the base display name for a test ("TestClassName.MethodName"). - - - - - Returns the default method display to use (when not customized). - - - - - Returns the default method display options to use (when not customized). - - - - - - - - Gets or sets the exception that happened during initialization. When this is set, then - the test execution should fail with this exception. - - - - - - - - Gets the generic types that were used to close the generic test method, if - applicable; null, if the test method was not an open generic. - - - - - - - - - - - - - - - - - - - - - - - - - - Call to ensure the object is fully initialized(). - - - - - Gets the unique ID for the test case. - - - - Converts an array of bytes to its hexadecimal value as a string. - The bytes. - A string containing the hexadecimal representation of the provided bytes. - - - Gets a hexadecimal digit character from the 4-bit value. - A value in the range [0, 15]. - A character in the range ['0','9'] or ['a','f']. - - - - Called when initializing the test cases, either after constructor or de-serialization. - Override this method to add additional initialization-time work. - - - - - - - - - - - Default implementation of . - - - - - Gets the output provided by the test. - - - - - Initialize the test output helper with information about a test. - - - - - Resets the test output helper to its uninitialized state. - - - - - - - - - - - Thrown if a test exceeds the specified timeout. - - - - - Initializes a new instance of . - - The timeout that was exceeded, in milliseconds - - - - Implementation of that supports finding test cases - on methods decorated with . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink to be used to send diagnostic messages. - - - - - - - - Creates test cases for a single row of data. By default, returns a single instance of - with the data row inside of it. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The row of data for this test case. - The test cases - - - - - - - Creates test cases for a skipped theory. By default, returns a single instance of - (which inherently discovers the skip reason via the fact attribute). - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The skip reason that decorates . - The test cases - - - - - - - Creates test cases for the entire theory. This is used when one or more of the theory data items - are not serializable, or if the user has requested to skip theory pre-enumeration. By default, - returns a single instance of , which performs the data discovery - at runtime. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The test case - - - - - - - Creates test cases for a single row of skipped data. By default, returns a single instance of - with the data row inside of it. - - If this method is overridden, the implementation will have to override otherwise - the default behavior will look at the and the test case will not be skipped. - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The row of data for this test case. - The reason this test case is to be skipped - The test cases - - - - Discover test cases from a test method. - - - This method performs the following steps: - - If the theory attribute is marked with Skip, returns the single test case from ; - - If pre-enumeration is off, or any of the test data is non serializable, returns the single test case from ; - - If there is no theory data, returns a single test case of with the error in it; - - Otherwise, it returns one test case per data row, created by calling or if the data attribute has a skip reason. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - Represents a test case that had a valid data row, but the data row was generated by a data attribute with the skip property set. - - This class is only ever used if the discoverer is pre-enumerating theories and the data row is serializable. - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method this test case belongs to. - The reason that this test case will be skipped - The arguments for the test method. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The reason that this test case will be skipped - The arguments for the test method. - - - - - - - - - - - - - An implementation of for xUnit v2. - - - - - Initializes a new instance of the class. - - The test case this test belongs to. - The display name for this test. - - - - - - - Gets the xUnit v2 test case. - - - - - - - - Default implementation of for xUnit v2 that supports tests decorated with - both and . - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Gets the message sink used to report messages. - - - - - - - - Gets the display name for the test case. Calls - with the given base display name (which is itself either derived from , - falling back to . - - The fact attribute the decorated the test case. - The base display name from . - The display name for the test case. - - - - Gets the skip reason for the test case. By default, pulls the skip reason from the - property. - - The fact attribute the decorated the test case. - The skip reason, if skipped; null, otherwise. - - - - Gets the timeout for the test case. By default, pulls the skip reason from the - property. - - The fact attribute the decorated the test case. - The timeout in milliseconds, if set; 0, if unset. - - - - - - - - - - - - - - - - The implementation of that supports discovery and - execution of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - - - - - - - The implementation of that supports discovery - of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Gets the display name of the xUnit.net v2 test framework. - - - - - Initializes a new instance of the class. - - The test assembly. - The source information provider. - The message sink used to send diagnostic messages - The test collection factory used to look up test collections. - - - - Gets the mapping dictionary of fact attribute type to discoverer type. - - - - - Gets the test collection factory that makes test collections. - - - - - - - - Finds the tests on a test method. - - The test method. - Set to true to indicate that source information should be included. - The message bus to report discovery messages to. - The options used by the test framework during discovery. - Return true to continue test discovery, false, otherwise. - - - - - - - Gets the test case discover instance for the given discoverer type. The instances are cached - and reused, since they should not be stateful. - - The discoverer type. - Returns the test case discoverer instance. - - - - - - - The implementation of that supports execution - of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Initializes a new instance of the class. - - Name of the test assembly. - The source line number information provider. - The message sink to report diagnostic messages to. - - - - Gets the test assembly that contains the test. - - - - - - - - - - - - - - Represents a test case which runs multiple tests for theory data, either because the - data was not enumerable or because the data was not serializable. - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The method under test. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The method under test. - - - - - - - An implementation of which runs work on custom threads - rather than in the thread pool, and limits the number of in-flight actions. - - - - - Initializes a new instance of the class. - - The maximum number of tasks to run at any one time. - - - - Gets a flag indicating whether maximum concurrency is supported. - - - - - - - - - - - - - - This is an internal class, and is not intended to be called from end-user code. - - - - - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. - - - - - Initializes a new instance of the class. - - The message bus to delegate to. - The callback to send messages to. - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. In addition, - it issues a event when a message of the type - is seen. - - The type of the T final message. - - - - Initializes a new instance of the class. - - The message bus to delegate to. - The callback to send messages to. - - - - The final message that was seen that caused to be triggered. - - - - - An event that is triggered when a message of type is seen. - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. - - - - - Initializes a new instance of the class. - - The inner message sink. - The callback. - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. In addition, - it issues a event when a message of the type - is seen. - - The type of the T final message. - - - - Initializes a new instance of the class. - - The inner message sink. - The callback. - - - - The final message that was seen that caused to be triggered. - - - - - An event that is triggered when a message of type is seen. - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The assembly to be wrapped. - - - - Initializes a new instance of the class. - - The assembly to be wrapped. - - - - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The attribute to be wrapped. - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The method to be wrapped. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The parameter to be wrapped. - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The type to wrap. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wrapper to implement types from xunit.abstractions.dll using reflection. - - - - - Converts arguments into their target types. Can be particularly useful when pulling attribute - constructor arguments, whose types may not strictly match the parameter types. - - The arguments to be converted. - The target types for the conversion. - The converted arguments. - - - - Converts an into an . - - The assembly to wrap. - The wrapper - - - - Converts an into an using reflection. - - The attribute to wrap. - The wrapper - - - - Converts a into an using reflection. - - The method to wrap - The wrapper - - - - Converts a into an using reflection. - - THe parameter to wrap - The wrapper - - - - Converts a into an using reflection. - - The type to wrap - The wrapper - - - - This is an internal class, and is not intended to be called from end-user code. - - - - - - - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - Represents an exception that happened during the process of a test class. This typically - means there were problems identifying the correct test class constructor, or problems - creating the fixture data for the test class. - - - - - Initializes a new instance of the class. - - The exception message. - - - - - - - - - - - - - The implementation of that supports attributes - of type . - - - - - - - - A helper class to retrieve the traits from a method. - - - - - Get the traits from a method. - - The member (method, field, etc.) to get the traits for. - A list of traits that are defined on the method. - - - - Extension methods for . - - - - - Converts a type into a name string. - - The type to convert. - Name string of type. - - - - Resolves argument values for the test method, including support for optional method - arguments. - - The test method to resolve. - The user-supplied method arguments. - The argument values - - - - Formulates the extended portion of the display name for a test method. For tests with no arguments, this will - return just the base name; for tests with arguments, attempts to format the arguments and appends the argument - list to the test name. - - The test method - The base part of the display name - The test method arguments - The test method's generic types - The full display name for the test method - - - - Resolves an individual generic type given an intended generic parameter type and the type of an object passed to that type. - - The generic type, e.g. T, to resolve. - The non-generic or open generic type, e.g. T, to try to match with the type of the object passed to that type. - The non-generic or closed generic type, e.g. string, used to resolve the method parameter. - The resolved type, e.g. the parameters (T, T, string, typeof(object)) -> (T, T, string, typeof(string)). - True if resolving was successful, else false. - - - - Gets the ElementType of a type, only if it is an array. - - The type to get the ElementType of. - If type is an array, the ElementType of the type, else the original type. - - - - Gets the underlying ElementType of a type, if the ITypeInfo supports reflection. - - The type to get the ElementType of. - A flag indicating whether the type is an array. - If type has an element type, underlying ElementType of a type, else the original type. - - - - Resolves an individual generic type given an intended generic parameter type and the type of an object passed to that type. - - The generic type, e.g. T, to resolve. - The non-generic or closed generic type, e.g. string, used to resolve the method parameter. - The generic arguments of the open generic type to match with the passed parameter. - The resolved type. - True if resolving was successful, else false. - - - - Resolves a generic type for a test method. The test parameters (and associated parameter infos) are - used to determine the best matching generic type for the test method that can be satisfied by all - the generic parameters and their values. - - The generic type to be resolved - The parameter values being passed to the test method - The parameter infos for the test method - The best matching generic type - - - - Resolves all the generic types for a test method. The test parameters are used to determine - the best matching generic types for the test method that can be satisfied by all - the generic parameters and their values. - - The test method - The parameter values being passed to the test method - The best matching generic types - - - base implementation of MD4 family style digest as outlined in - "Handbook of Applied Cryptography", pages 344 - 347. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349. - - It is interesting to ponder why the, apart from the extra IV, the other difference here from MD5 - is the "endianness" of the word processing! - - - - - - - Copy constructor. This will copy the state of the provided - message digest. - - - - - - - - - - - - reset the chaining variables - - - - - - - Utility classes for dealing with Exception objects. - - - - - Combines multiple levels of messages into a single message. - - The failure information from which to get the messages. - The combined string. - - - - Combines multiple levels of stack traces into a single stack trace. - - The failure information from which to get the stack traces. - The combined string. - - - - Unwraps exceptions and their inner exceptions. - - The exception to be converted. - The failure information. - - - - An implementation of and that - ignores all messages. - - - - - - - - - - - - - - Serializes and de-serializes objects - - - - - De-serializes an object. - - The type of the object - The object's serialized value - The de-serialized object - - - - Serializes an object. - - The value to serialize - The serialized value - - - Gets whether the specified is serializable with . - The object to test for serializability. - true if the object can be serialized; otherwise, false. - - - - Converts an assembly qualified type name into a object. - - The assembly qualified type name. - The instance of the , if available; null, otherwise. - - - - Converts an assembly name + type name into a object. - - The assembly name. - The type name. - The instance of the , if available; null, otherwise. - - - - Gets an assembly qualified type name for serialization, with special dispensation for types which - originate in the execution assembly. - - - - - Retrieves a substring from the string, with whitespace trimmed on both ends. - - The string. - The starting index. - The length. - - A substring starting no earlier than startIndex and ending no later - than startIndex + length. - - - - - Default implementation of . - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of and . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message to send - - - - Initializes a new instance of the class. - - The format of the message to send - The arguments used to format the message - - - - - - - - - - Default implementation of . - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Formats arguments for display in theories. - - - - - Format the value for presentation. - - The value to be formatted. - - - The formatted value. - - - - Format the value for presentation. - - The value to be formatted. - - The formatted value. - - - - Default implementation of used by the xUnit.net equality assertions. - - The type that is being compared. - - - - Initializes a new instance of the class. - - The inner comparer to be used when the compared objects are enumerable. - - - - - - - - - - - - - A class that wraps to create . - - The type that is being compared. - - - - Initializes a new instance of the class. - - The comparer that is being adapted. - - - - - - - - - - Gets the substitution token used as assembly name suffix to indicate that the assembly is - a generalized reference to the platform-specific assembly. - - - - - Base class for all long-lived objects that may cross over an AppDomain. - - - - - Creates a new instance of the type. - - - - - Disconnects all remote objects. - - - - - - - - A mirror class of the CLR's class. - - - - - Initializes a new instance of the class. - - The data to copy into the serialization info - - - - - - - - - - - - - Returns BASE64 encoded string that represents the entirety of the data. - - - - - Returns a triple for a key/value pair of data in a complex object - - The triple to be serialized - The serialized version of the triple - - - - Returns the triple values out of a serialized triple. - - The serialized triple - The de-serialized triple - - - - De-serializes a value that was serialized with . - - The type of the object to de-serialize into - The serialized value - The de-serialized object - - - - Serializes an object. - - The value to be serialized - The serialized object - - - - Represents a triple of information used when serializing complex types: the property name, - the value to be serialized, and the value's type. - - - - - Gets the triple's key - - - - - Gets the triple's value - - - - - Gets the triple's value type - - - - - Initializes a new instance of the class. - - The triple's key - The triple's value - The triple's value type - - - - Rethrows an exception object without losing the existing stack trace information - - The exception to re-throw. - - For more information on this technique, see - http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx. - The remote_stack_trace string is here to support Mono. - - - - - Unwraps an exception to remove any wrappers, like . - - The exception to unwrap. - The unwrapped exception. - - - - Guard class, used for guard clauses and argument validation - - - - - - - - - - - - - - Methods which help bridge and contain the differences between Type and TypeInfo. - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.dll deleted file mode 100644 index 63678068..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.xml b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.xml deleted file mode 100644 index bd71522c..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/lib/netstandard1.1/xunit.execution.dotnet.xml +++ /dev/null @@ -1,4214 +0,0 @@ - - - - xunit.execution.dotnet - - - - - This class represents utility methods needed to supplement the - reflection capabilities provided by the CLR - - - - - Creates an instance of the test class for the given test case. Sends the - and messages as appropriate. - - The test - The type of the test class - The constructor arguments for the test class - The message bus used to send the test messages - The timer used to measure the time taken for construction - The cancellation token source - - - - - Disposes the test class instance. Sends the and - messages as appropriate. - - The test - The test class instance to be disposed - The message bus used to send the test messages - The timer used to measure the time taken for construction - The cancellation token source - - - - Gets methods in the target type that match the protection level of the supplied method - - The type - The method - The reflection method informations that match - - - - Gets all the custom attributes for the given assembly. - - The assembly - The type of the attribute - The matching attributes that decorate the assembly - - - - Gets all the custom attributes for the given attribute. - - The attribute - The type of the attribute to find - The matching attributes that decorate the attribute - - - - Gets all the custom attributes for the method that are of the given type. - - The method - The type of the attribute - The matching attributes that decorate the method - - - - Gets all the custom attributes for the given type. - - The type - The type of the attribute - The matching attributes that decorate the type - - - - Converts an into a , if possible (for example, this - will not work when the test method is based on source code rather than binaries). - - The method to convert - The runtime method, if available; null, otherwise - - - - Converts an into a , if possible (for example, this - will not work when the test class is based on source code rather than binaries). - - The type to convert - The runtime type, if available, null, otherwise - - - - Extension methods for reading and . - - - - - Gets a flag that determines whether diagnostic messages will be emitted. - - - - - Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not present, - returns the default value (false). - - - - - Gets a flag that determines the default display name format for test methods. - - - - - Gets a flag that determines the default display options to format test methods. - - - - - Gets a flag that determines the default display name format for test methods. If the flag is not present, - returns the default value (). - - - - - Gets the options that determine the default display formatting options for test methods. If no options are not present, - returns the default value (). - - - - - Gets a flag that determines whether theories are pre-enumerated. If they enabled, then the - discovery system will return a test case for each row of test data; they are disabled, then the - discovery system will return a single test case for the theory. - - - - - Gets a flag that determines whether theories are pre-enumerated. If enabled, then the - discovery system will return a test case for each row of test data; if disabled, then the - discovery system will return a single test case for the theory. If the flag is not present, - returns the default value (true). - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - If the flag is not set, returns the default value (false). - - - - - Gets a flag that determines whether diagnostic messages will be emitted. - - - - - Gets a flag that determines whether diagnostic messages will be emitted. If the flag is not - present, returns the default value (false). - - - - - Gets a flag to disable parallelization. - - - - - Gets a flag to disable parallelization. If the flag is not present, returns the - default value (false). - - - - - Gets the maximum number of threads to use when running tests in parallel. - - - - - Gets the maximum number of threads to use when running tests in parallel. If set to 0 (or not set), - the value of is used; if set to a value less - than 0, does not limit the number of threads. - - - - - Gets a flag to stop testing on test failure. - - - - - Gets a flag to stop testing on test failure. If the flag is not present, returns the - default value (false). - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - - - - - Gets a flag that determines whether xUnit.net should report test results synchronously. - If the flag is not set, returns the default value (false). - - - - - This implementation of allows the developer to track the count - of outstanding "async void" operations, and wait for them all to complete. - - - - - Initializes a new instance of the class. - - The existing synchronization context (may be null). - - - - - - - - - - - - - - - - Returns a task which is signaled when all outstanding operations are complete. - - - - - Default implementation of . Orders tests in - an unpredictable but stable order, so that repeated test runs of the - identical test assembly run tests in the same order. - - - - - Initializes a new instance of the class. - - Message sink to report diagnostic messages to - - - - - - - Default implementation of . Orders tests in - an unpredictable and unstable order, so that repeated test runs of the - identical test assembly run test collections in a random order. - - - - - - - - Tracks disposable objects, and disposes them in the reverse order they were added to - the tracker. - - - - - Add an object to be disposed. - - The object to be disposed. - - - - - - - Represents a caching factory for the types used for extensibility throughout the system. - - - - - Disposes the instances that are contained in the cache. - - - - - Gets an instance of the given type, casting it to , using the provided - constructor arguments. There is a single instance of a given type that is cached and reused, - so classes retrieved from this factory must be stateless and thread-safe. - - The interface type. - The message sink used to send diagnostic messages - The implementation type. - The constructor arguments. Since diagnostic message sinks are optional, - the code first looks for a type that takes the given arguments plus the message sink, and only - falls back to the message sink-less constructor if none was found. - The instance of the type. - - - - Gets a data discoverer. - - The message sink used to send diagnostic messages - The discoverer type - - - - Gets a data discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The data discoverer attribute - The data discoverer, if the type is loadable; null, otherwise. - - - - Gets a test case orderer. - - The message sink used to send diagnostic messages - The test case orderer type - - - - Gets a test case orderer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test case orderer attribute. - The test case orderer, if the type is loadable; null, otherwise. - - - - Gets a test collection orderer. - - The message sink used to send diagnostic messages - The test collection orderer type - - - - Gets a test collection orderer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test collection orderer attribute. - The test collection orderer, if the type is loadable; null, otherwise. - - - - Gets a test framework discoverer. - - The message sink used to send diagnostic messages - The test framework type discoverer type - - - - Gets a test framework discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The test framework discoverer attribute - - - - Gets a trait discoverer. - - The message sink used to send diagnostic messages - The trait discoverer type - - - - Gets a trait discoverer, as specified in a reflected . - - The message sink used to send diagnostic messages - The trait discoverer attribute. - The trait discoverer, if the type is loadable; null, otherwise. - - - - Gets an xUnit.net v2 test discoverer. - - The message sink used to send diagnostic messages - The test case discoverer type - - - - Gets an xUnit.net v2 test collection factory. - - The message sink used to send diagnostic messages - The test collection factory type - The test assembly under test - - - - Gets an xUnit.net v2 test collection factory, as specified in a reflected . - - The message sink used to send diagnostic messages - The collection behavior attribute. - The test assembly. - The collection factory. - - - - Implementation of that creates a single - default test collection for the assembly, and places any tests classes without - the into it. - - - - - Initializes a new instance of the class. - - The assembly. - The message sink used to send diagnostic messages - - - - - - - - - - Implementation of which creates a new test - collection for each test class that isn't decorated with . - - - - - Initializes a new instance of the class. - - The assembly info. - The message sink used to send diagnostic messages - - - - - - - - - - Represents a formatter that formats the display name of a class and/or method into a more - human readable form using additional options. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The used by the formatter. - The used by the formatter. - - - - Formats the specified display name. - - The display name to format. - The formatted display name. - - - - A simple implementation of that can be used to report an error - rather than running a test. - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method. - The error message to report for the test. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method. - The error message to report for the test. - - - - Gets the error message that will be display when the test is run. - - - - - - - - - - - - - - Measures and aggregates execution time of one or more actions. - - - - - Returns the total time aggregated across all the actions. - - - - - Executes an action and aggregates its run time into the total. - - The action to measure. - - - - Executes an asynchronous action and aggregates its run time into the total. - - The action to measure. - - - - Aggregates a time span into the total time. - - The time to add. - - - - Implementation of that supports finding test cases - on methods decorated with . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink used to report messages. - - - - - Creates a single for the given test method. - - The discovery options to be used. - The test method. - The attribute that decorates the test method. - - - - - Discover test cases from a test method. By default, if the method is generic, or - it contains arguments, returns a single ; - otherwise, it returns the result of calling . - - The discovery options to be used. - The test method the test cases belong to. - The fact attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - An implementation of to support . - - - - - Initializes a new instance of the class. - - The test case that the lambda represents. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - - - - A base class that provides default behavior when running tests in an assembly. It groups the tests - by test collection, and then runs the individual test collections. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The assembly that contains the tests to be run. - The test cases to be run. - The message sink to report diagnostic messages to. - The message sink to report run status to. - The user's requested execution options. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the user's requested execution options. - - - - - Gets or sets the message sink to report diagnostic messages to. - - - - - Gets or sets the message sink to report run status to. - - - - - Gets or sets the assembly that contains the tests to be run. - - - - - Gets or sets the test case orderer that will be used to decide how to order the tests. - - - - - Gets or sets the test collection orderer that will be used to decide how to order the test collections. - - - - - Gets or sets the test cases to be run. - - - - - - - - Override this to provide the display name for the test framework (f.e., "xUnit.net 2.0"). - This value is placed into . - - - - - Override this to provide the environment information (f.e., "32-bit .NET 4.0"). This value is - placed into . - - - - - This method is called just after is sent, but before any test collections are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Creates the message bus to be used for test execution. By default, it inspects - the options for the - flag, and if present, creates a message bus that ensures all messages are delivered - on the same thread. - - The message bus. - - - - Orders the test collections using the . - - Test collections (and the associated test cases) in run order - - - - Runs the tests in the test assembly. - - Returns summary information about the tests that were run. - - - - Runs the list of test collections. By default, groups the tests by collection and runs them synchronously. - - The message bus to report run status to. - The task cancellation token source, used to cancel the test run. - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test collection. - - The message bus to report run status to. - The test collection that is being run. - The test cases to be run. - The task cancellation token source, used to cancel the test run. - Returns summary information about the tests that were run. - - - - A base class that provides default behavior when running test cases. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test case to be run. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case to be run. - - - - - This method is called just after is sent, but before any test collections are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test case. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test method. - - Returns summary information about the tests that were run. - - - - A base class that provides default behavior when running tests in a test class. It groups the tests - by test method, and then runs the individual test methods. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test class to be run. - The test class that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the CLR class that contains the tests to be run. - - - - - Gets the message sink used to send diagnostic messages. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case orderer that will be used to decide how to order the test. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test class to be run. - - - - - Creates the arguments for the test class constructor. Attempts to resolve each parameter - individually, and adds an error when the constructor arguments cannot all be provided. - If the class is static, does not look for constructor, since one will not be needed. - - The test class constructor arguments. - - - - Gets the message to be used when the constructor is missing arguments. - - - - - This method is called just after is sent, but before any test methods are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test class. - - Returns summary information about the tests that were run. - - - - Runs the list of test methods. By default, orders the tests, groups them by method and runs them synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test method. - - The test method that contains the test cases. - The CLR method that contains the tests to be run. - The test cases to be run. - The constructor arguments that will be used to create the test class. - Returns summary information about the tests that were run. - - - - Selects the constructor to be used for the test class. By default, chooses the parameterless - constructor. Override to change the constructor selection logic. - - The constructor to be used for creating the test class. - - - - Tries to supply a test class constructor argument. By default, always fails. Override to - change the argument lookup logic. - - The constructor that will be used to create the test class. - The parameter index. - The parameter information. - The argument value that should be used for the parameter. - Returns true if the argument was supplied; false, otherwise. - - - - A base class that provides default behavior when running tests in a test collection. It groups the tests - by test class, and then runs the individual test classes. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test collection that contains the tests to be run. - The test cases to be run. - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test case orderer that will be used to decide how to order the test. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test collection that contains the tests to be run. - - - - - This method is called just after is sent, but before any test classes are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test collection. - - Returns summary information about the tests that were run. - - - - Runs the list of test classes. By default, groups the tests by class and runs them synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run the tests in an individual test class. - - The test class to be run. - The CLR class that contains the tests to be run. - The test cases to be run. - Returns summary information about the tests that were run. - - - - A base class that provides default behavior to invoke a test method. This includes - support for async test methods (both "async Task" and "async void") as well as - creation and disposal of the test class. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the constructor arguments used to construct the test class. - - - - - Gets the display name of the invoked test. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the test to be run. - - - - - Gets the test case to be run. - - - - - Gets or sets the runtime type of the class that contains the test method. - - - - - Gets or sets the runtime method of the method that contains the test. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - Gets or sets the object which measures execution time. - - - - - Creates the test class, unless the test method is static or there have already been errors. Note that - this method times the creation of the test class (using ). It is also responsible for - sending the and - messages, so if you override this method without calling the base, you are responsible for all of this behavior. - This method should NEVER throw; any exceptions should be placed into the . - - The class instance, if appropriate; null, otherwise - - - - This method is called just after the test method has finished executing. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before the test method is invoked. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method calls the test method via reflection. This is an available override point - if you need to do some other form of invocation of the actual test method. - - The instance of the test class - The return value from the test method invocation - - - - Given an object, will determine if it is an instance of (in which case, it is - directly returned), or an instance of - (in which case it is converted), or neither (in which case null is returned). - - The object to convert - - - - Creates the test class (if necessary), and invokes the test method. - - Returns the time (in seconds) spent creating the test class, running - the test, and disposing of the test class. - - - - Invokes the test method on the given test class instance. This method sets up support for "async void" - test methods, ensures that the test method has the correct number of arguments, then calls - to do the actual method invocation. It ensure that any async test method is fully completed before returning, and - returns the measured clock time that the invocation took. - - The test class instance - Returns the time taken to invoke the test method - - - - A base class that provides default behavior when running tests in a test method. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test method under test. - The CLR class that contains the test method. - The CLR method that contains the tests to be run. - The test cases to be run. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the CLR class that contains the test method. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the CLR method that contains the tests to be run. - - - - - Gets or sets the test cases to be run. - - - - - Gets or sets the test method that contains the test cases. - - - - - This method is called just after is sent, but before any test cases are run. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the tests in the test method. - - Returns summary information about the tests that were run. - - - - Runs the list of test cases. By default, it runs the cases in order, synchronously. - - Returns summary information about the tests that were run. - - - - Override this method to run an individual test case. - - The test case to be run. - Returns summary information about the test case run. - - - - A base class that provides default behavior when running a test. This includes support - for skipping tests. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The skip reason, if the test is to be skipped. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets or sets the exception aggregator used to run code and collect exceptions. - - - - - Gets or sets the task cancellation token source, used to cancel the test run. - - - - - Gets or sets the constructor arguments used to construct the test class. - - - - - Gets or sets the display name of the invoked test. - - - - - Gets or sets the message bus to report run status to. - - - - - Gets or sets the skip reason for the test, if set. - - - - - Gets or sets the test to be run. - - - - - Gets the test case to be run. - - - - - Gets or sets the runtime type of the class that contains the test method. - - - - - Gets or sets the runtime method of the method that contains the test. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - This method is called just after is sent, but before the test class is created. - This method should NEVER throw; any exceptions should be placed into the . - - - - - This method is called just before is sent. - This method should NEVER throw; any exceptions should be placed into the . - - - - - Runs the test. - - Returns summary information about the test that was run. - - - - Override this method to invoke the test. - - The exception aggregator used to run code and collect exceptions. - Returns a tuple which includes the execution time (in seconds) spent running the - test method, and any output that was returned by the test. - - - - The test assembly runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The assembly that contains the tests to be run. - The test cases to be run. - The message sink to report diagnostic messages to. - The message sink to report run status to. - The user's requested execution options. - - - - - - - - - - - - - Gets the synchronization context used when potentially running tests in parallel. - If is greater than 0, it creates - and uses an instance of . - - The maximum number of parallel threads. - - - - Ensures the assembly runner is initialized (sets up the collection behavior, - parallelization options, and test orderers from their assembly attributes). - - - - - - - - - - - - - - - - - The test case runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test case to be run. - The display name of the test case. - The skip reason, if the test is to be skipped. - The arguments to be passed to the test class constructor. - The arguments to be passed to the test method. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s that will be used for this test case. - - - - - Gets or sets the arguments passed to the test class constructor - - - - - Gets or sets the display name of the test case - - - - - Gets or sets the skip reason for the test, if set. - - - - - Gets or sets the runtime type for the test class that the test method belongs to. - - - - - Gets of sets the runtime method for the test method that the test case belongs to. - - - - - Gets or sets the arguments to pass to the test method when it's being invoked. - - - - - Creates the instance for the given test case. - - - - - Creates the test runner used to run the given test. - - - - - Gets the list of attributes that apply to this test case. - - - - - - - - The test class runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test class to be run. - The test class that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - The mapping of collection fixture types to fixtures. - - - - Gets the fixture mappings that were created during . - - - - - Gets the already initialized async fixtures . - - - - - Creates the instance of a class fixture type to be used by the test class. If the fixture can be created, - it should be placed into the dictionary; if it cannot, then the method - should record the error by calling Aggregator.Add. - - The type of the fixture to be created - - - - - - - - - - - - - - - - - - - - - - The test collection runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test collection that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages - The message bus to report run status to. - The test case orderer that will be used to decide how to order the test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the fixture mappings that were created during . - - - - - Gets the message sink used to send diagnostic messages. - - - - - - - - - - - Creates the instance of a collection fixture type to be used by the test collection. If the fixture can be created, - it should be placed into the dictionary; if it cannot, then the method - should record the error by calling Aggregator.Add. - - The type of the fixture to be created - - - - Gives an opportunity to override test case orderer. By default, this method gets the - orderer from the collection definition. If this function returns null, the - test case orderer passed into the constructor will be used. - - - - - - - - The test invoker for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The list of s for this test invocation. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s for this test invocation. - - - - - - - - - - - - - - The test method runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test method to be run. - The test class that contains the test method. - The test method that contains the tests to be run. - The test cases to be run. - The message sink used to send diagnostic messages to. - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - The constructor arguments for the test class. - - - - - - - The test runner for xUnit.net v2 tests. - - - - - Initializes a new instance of the class. - - The test that this invocation belongs to. - The message bus to report run status to. - The test class that the test method belongs to. - The arguments to be passed to the test class constructor. - The test method that will be invoked. - The arguments to be passed to the test method. - The skip reason, if the test is to be skipped. - The list of s for this test. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the list of s for this test. - - - - - - - - Override this method to invoke the test method. - - The exception aggregator used to run code and collect exceptions. - Returns the execution time (in seconds) spent running the test method. - - - - The test case runner for xUnit.net v2 theories (which could not be pre-enumerated; - pre-enumerated test cases use ). - - - - - Initializes a new instance of the class. - - The test case to be run. - The display name of the test case. - The skip reason, if the test is to be skipped. - The arguments to be passed to the test class constructor. - The message sink used to send diagnostic messages - The message bus to report run status to. - The exception aggregator used to run code and collect exceptions. - The task cancellation token source, used to cancel the test run. - - - - Gets the message sink used to report messages. - - - - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test assembly. - The optional configuration filename (defaults to the - configuration file of the current app domain if not provided) - The version number of the assembly (defaults to "0.0.0.0") - - - - - - - - - - Gets or sets the assembly version. - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test collection the class belongs to - The test class - - - - - - - - - - - - - - - - An implementation of for . - Compares the fully qualified names of the types. - - - - - The singleton instance of the comparer. - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test assembly the collection belongs to - The optional type which contains the collection definition - The display name for the test collection - - - - - - - - - - - - - - - - - - - - - - An implementation of for . - Compares the IDs of the test collections. - - - - - The singleton instance of the comparer. - - - - - - - - - - - A helper class that gets the list of test collection definitions for a given assembly. - Reports any misconfigurations of the test assembly via the diagnostic message sink. - - - - - Gets the test collection definitions for the given assembly. - - The assembly. - The message sink used to send diagnostic messages - A list of mappings from test collection name to test collection definitions (as - - - - A default implementation of that tracks objects to be - disposed when the framework is disposed. The discoverer and executor are automatically - tracked for disposal, since those interfaces mandate an implementation of . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink used to send diagnostic messages. - - - - - Gets the disposal tracker for the test framework. - - - - - - - - - - - Override this method to provide the implementation of . - - The assembly that is being discovered. - Returns the test framework discoverer. - - - - Override this method to provide the implementation of . - - The assembly that is being executed. - Returns the test framework executor. - - - - - - - - - - A base implementation of that supports test filtering - and runs the discovery process on a thread pool thread. - - - - - Initializes a new instance of the class. - - The test assembly. - The source information provider. - The message sink used to send diagnostic messages - - - - Gets the assembly that's being discovered. - - - - - Gets the message sink used to report diagnostic messages. - - - - - Gets the disposal tracker for the test framework discoverer. - - - - - Get the source code information provider used during discovery. - - - - - - - - - - - Implement this method to create a test class for the given CLR type. - - The CLR type. - The test class. - - - - - - - - - - - - - Core implementation to discover unit tests in a given test class. - - The test class. - Set to true to attempt to include source information. - The message sink to send discovery messages to. - The options used by the test framework during discovery. - Returns true if discovery should continue; false otherwise. - - - - Determines if a type should be used for discovery. Can be used to filter out types that - are not desirable. The default implementation filters out abstract (non-static) classes. - - The type. - Returns true if the type can contain tests; false, otherwise. - - - - Reports a discovered test case to the message bus, after updating the source code information - (if desired). - - - - - - - - - - - - A reusable implementation of which contains the basic behavior - for running tests. - - The type of the test case used by the test framework. Must - derive from . - - - - Initializes a new instance of the class. - - Name of the test assembly. - The source line number information provider. - The message sink to report diagnostic messages to. - - - - Gets the assembly information of the assembly under test. - - - - - Gets the message sink to send diagnostic messages to. - - - - - Gets the disposal tracker for the test framework discoverer. - - - - - Gets the source information provider. - - - - - Override to create a test framework discoverer that can be used to discover - tests when the user asks to run all test. - - The test framework discoverer - - - - - - - - - - - - - - - - Override to run test cases. - - The test cases to be run. - The message sink to report run status to. - The user's requested execution options. - - - - This class proxies for the real implementation of , based on - whether the user has overridden the choice via . If - no attribute is found, defaults to . - - - - - Initializes a new instance of the class. - - The test assembly (expected to implement ). - The source information provider (expected to implement ). - The diagnostic message sink (expected to implement ). - - - - Gets the test framework that's being wrapped by the proxy. - - - - - - - - - - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - - - - - - - The default implementation of . - - - - - - - - Initializes a new instance of the class. - - The test class - The test method - - - - - - - - - - - - - - - - An implementation of for . - Compares the names of the methods. - - - - - The singleton instance of the comparer. - - - - - - - - - - - A base class implementation of which is based on test cases being - related directly to test methods. - - - - - Used for de-serialization. - - - - - Initializes a new instance of the class. - - Default method display to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Initializes a new instance of the class. - - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Returns the base display name for a test ("TestClassName.MethodName"). - - - - - Returns the default method display to use (when not customized). - - - - - Returns the default method display options to use (when not customized). - - - - - - - - Gets or sets the exception that happened during initialization. When this is set, then - the test execution should fail with this exception. - - - - - - - - Gets the generic types that were used to close the generic test method, if - applicable; null, if the test method was not an open generic. - - - - - - - - - - - - - - - - - - - - - - - - - - Call to ensure the object is fully initialized(). - - - - - Gets the unique ID for the test case. - - - - Converts an array of bytes to its hexadecimal value as a string. - The bytes. - A string containing the hexadecimal representation of the provided bytes. - - - Gets a hexadecimal digit character from the 4-bit value. - A value in the range [0, 15]. - A character in the range ['0','9'] or ['a','f']. - - - - Called when initializing the test cases, either after constructor or de-serialization. - Override this method to add additional initialization-time work. - - - - - - - - - - - Default implementation of . - - - - - Gets the output provided by the test. - - - - - Initialize the test output helper with information about a test. - - - - - Resets the test output helper to its uninitialized state. - - - - - - - - - - - Thrown if a test exceeds the specified timeout. - - - - - Initializes a new instance of . - - The timeout that was exceeded, in milliseconds - - - - Implementation of that supports finding test cases - on methods decorated with . - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - Gets the message sink to be used to send diagnostic messages. - - - - - - - - Creates test cases for a single row of data. By default, returns a single instance of - with the data row inside of it. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The row of data for this test case. - The test cases - - - - - - - Creates test cases for a skipped theory. By default, returns a single instance of - (which inherently discovers the skip reason via the fact attribute). - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The skip reason that decorates . - The test cases - - - - - - - Creates test cases for the entire theory. This is used when one or more of the theory data items - are not serializable, or if the user has requested to skip theory pre-enumeration. By default, - returns a single instance of , which performs the data discovery - at runtime. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The test case - - - - - - - Creates test cases for a single row of skipped data. By default, returns a single instance of - with the data row inside of it. - - If this method is overridden, the implementation will have to override otherwise - the default behavior will look at the and the test case will not be skipped. - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - The row of data for this test case. - The reason this test case is to be skipped - The test cases - - - - Discover test cases from a test method. - - - This method performs the following steps: - - If the theory attribute is marked with Skip, returns the single test case from ; - - If pre-enumeration is off, or any of the test data is non serializable, returns the single test case from ; - - If there is no theory data, returns a single test case of with the error in it; - - Otherwise, it returns one test case per data row, created by calling or if the data attribute has a skip reason. - - The discovery options to be used. - The test method the test cases belong to. - The theory attribute attached to the test method. - Returns zero or more test cases represented by the test method. - - - - Represents a test case that had a valid data row, but the data row was generated by a data attribute with the skip property set. - - This class is only ever used if the discoverer is pre-enumerating theories and the data row is serializable. - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method this test case belongs to. - The reason that this test case will be skipped - The arguments for the test method. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The reason that this test case will be skipped - The arguments for the test method. - - - - - - - - - - - - - An implementation of for xUnit v2. - - - - - Initializes a new instance of the class. - - The test case this test belongs to. - The display name for this test. - - - - - - - Gets the xUnit v2 test case. - - - - - - - - Default implementation of for xUnit v2 that supports tests decorated with - both and . - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The test method this test case belongs to. - The arguments for the test method. - - - - Gets the message sink used to report messages. - - - - - - - - Gets the display name for the test case. Calls - with the given base display name (which is itself either derived from , - falling back to . - - The fact attribute the decorated the test case. - The base display name from . - The display name for the test case. - - - - Gets the skip reason for the test case. By default, pulls the skip reason from the - property. - - The fact attribute the decorated the test case. - The skip reason, if skipped; null, otherwise. - - - - Gets the timeout for the test case. By default, pulls the skip reason from the - property. - - The fact attribute the decorated the test case. - The timeout in milliseconds, if set; 0, if unset. - - - - - - - - - - - - - - - - The implementation of that supports discovery and - execution of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - - - - - - - - - - The implementation of that supports discovery - of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Gets the display name of the xUnit.net v2 test framework. - - - - - Initializes a new instance of the class. - - The test assembly. - The source information provider. - The message sink used to send diagnostic messages - The test collection factory used to look up test collections. - - - - Gets the mapping dictionary of fact attribute type to discoverer type. - - - - - Gets the test collection factory that makes test collections. - - - - - - - - Finds the tests on a test method. - - The test method. - Set to true to indicate that source information should be included. - The message bus to report discovery messages to. - The options used by the test framework during discovery. - Return true to continue test discovery, false, otherwise. - - - - - - - Gets the test case discover instance for the given discoverer type. The instances are cached - and reused, since they should not be stateful. - - The discoverer type. - Returns the test case discoverer instance. - - - - - - - The implementation of that supports execution - of unit tests linked against xunit.core.dll, using xunit.execution.dll. - - - - - Initializes a new instance of the class. - - Name of the test assembly. - The source line number information provider. - The message sink to report diagnostic messages to. - - - - Gets the test assembly that contains the test. - - - - - - - - - - - - - - Represents a test case which runs multiple tests for theory data, either because the - data was not enumerable or because the data was not serializable. - - - - - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - The method under test. - - - - Initializes a new instance of the class. - - The message sink used to send diagnostic messages - Default method display to use (when not customized). - Default method display options to use (when not customized). - The method under test. - - - - - - - An implementation of which runs work on custom threads - rather than in the thread pool, and limits the number of in-flight actions. - - - - - Initializes a new instance of the class. - - The maximum number of tasks to run at any one time. - - - - Gets a flag indicating whether maximum concurrency is supported. - - - - - - - - - - - - - - This is an internal class, and is not intended to be called from end-user code. - - - - - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. - - - - - Initializes a new instance of the class. - - The message bus to delegate to. - The callback to send messages to. - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. In addition, - it issues a event when a message of the type - is seen. - - The type of the T final message. - - - - Initializes a new instance of the class. - - The message bus to delegate to. - The callback to send messages to. - - - - The final message that was seen that caused to be triggered. - - - - - An event that is triggered when a message of type is seen. - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. - - - - - Initializes a new instance of the class. - - The inner message sink. - The callback. - - - - - - - - - - Implementation of that delegates to another implementation of - while calling into a callback for each message. In addition, - it issues a event when a message of the type - is seen. - - The type of the T final message. - - - - Initializes a new instance of the class. - - The inner message sink. - The callback. - - - - The final message that was seen that caused to be triggered. - - - - - An event that is triggered when a message of type is seen. - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The assembly to be wrapped. - - - - Initializes a new instance of the class. - - The assembly to be wrapped. - - - - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The attribute to be wrapped. - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The method to be wrapped. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The parameter to be wrapped. - - - - - - - - - - - - - Reflection-based implementation of . - - - - - Initializes a new instance of the class. - - The type to wrap. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Wrapper to implement types from xunit.abstractions.dll using reflection. - - - - - Converts arguments into their target types. Can be particularly useful when pulling attribute - constructor arguments, whose types may not strictly match the parameter types. - - The arguments to be converted. - The target types for the conversion. - The converted arguments. - - - - Converts an into an . - - The assembly to wrap. - The wrapper - - - - Converts an into an using reflection. - - The attribute to wrap. - The wrapper - - - - Converts a into an using reflection. - - The method to wrap - The wrapper - - - - Converts a into an using reflection. - - THe parameter to wrap - The wrapper - - - - Converts a into an using reflection. - - The type to wrap - The wrapper - - - - This is an internal class, and is not intended to be called from end-user code. - - - - - - - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - INTERNAL CLASS. DO NOT USE. - - - - - - - - Represents an exception that happened during the process of a test class. This typically - means there were problems identifying the correct test class constructor, or problems - creating the fixture data for the test class. - - - - - Initializes a new instance of the class. - - The exception message. - - - - - - - - - - The implementation of that supports attributes - of type . - - - - - - - - A helper class to retrieve the traits from a method. - - - - - Get the traits from a method. - - The member (method, field, etc.) to get the traits for. - A list of traits that are defined on the method. - - - - Extension methods for . - - - - - Converts a type into a name string. - - The type to convert. - Name string of type. - - - - Resolves argument values for the test method, including support for optional method - arguments. - - The test method to resolve. - The user-supplied method arguments. - The argument values - - - - Formulates the extended portion of the display name for a test method. For tests with no arguments, this will - return just the base name; for tests with arguments, attempts to format the arguments and appends the argument - list to the test name. - - The test method - The base part of the display name - The test method arguments - The test method's generic types - The full display name for the test method - - - - Resolves an individual generic type given an intended generic parameter type and the type of an object passed to that type. - - The generic type, e.g. T, to resolve. - The non-generic or open generic type, e.g. T, to try to match with the type of the object passed to that type. - The non-generic or closed generic type, e.g. string, used to resolve the method parameter. - The resolved type, e.g. the parameters (T, T, string, typeof(object)) -> (T, T, string, typeof(string)). - True if resolving was successful, else false. - - - - Gets the ElementType of a type, only if it is an array. - - The type to get the ElementType of. - If type is an array, the ElementType of the type, else the original type. - - - - Gets the underlying ElementType of a type, if the ITypeInfo supports reflection. - - The type to get the ElementType of. - A flag indicating whether the type is an array. - If type has an element type, underlying ElementType of a type, else the original type. - - - - Resolves an individual generic type given an intended generic parameter type and the type of an object passed to that type. - - The generic type, e.g. T, to resolve. - The non-generic or closed generic type, e.g. string, used to resolve the method parameter. - The generic arguments of the open generic type to match with the passed parameter. - The resolved type. - True if resolving was successful, else false. - - - - Resolves a generic type for a test method. The test parameters (and associated parameter infos) are - used to determine the best matching generic type for the test method that can be satisfied by all - the generic parameters and their values. - - The generic type to be resolved - The parameter values being passed to the test method - The parameter infos for the test method - The best matching generic type - - - - Resolves all the generic types for a test method. The test parameters are used to determine - the best matching generic types for the test method that can be satisfied by all - the generic parameters and their values. - - The test method - The parameter values being passed to the test method - The best matching generic types - - - base implementation of MD4 family style digest as outlined in - "Handbook of Applied Cryptography", pages 344 - 347. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - implementation of SHA-1 as outlined in "Handbook of Applied Cryptography", pages 346 - 349. - - It is interesting to ponder why the, apart from the extra IV, the other difference here from MD5 - is the "endianness" of the word processing! - - - - - - - Copy constructor. This will copy the state of the provided - message digest. - - - - - - - - - - - - reset the chaining variables - - - - - - - Utility classes for dealing with Exception objects. - - - - - Combines multiple levels of messages into a single message. - - The failure information from which to get the messages. - The combined string. - - - - Combines multiple levels of stack traces into a single stack trace. - - The failure information from which to get the stack traces. - The combined string. - - - - Unwraps exceptions and their inner exceptions. - - The exception to be converted. - The failure information. - - - - An implementation of and that - ignores all messages. - - - - - - - - - - - - - - Serializes and de-serializes objects - - - - - De-serializes an object. - - The type of the object - The object's serialized value - The de-serialized object - - - - Serializes an object. - - The value to serialize - The serialized value - - - Gets whether the specified is serializable with . - The object to test for serializability. - true if the object can be serialized; otherwise, false. - - - - Converts an assembly qualified type name into a object. - - The assembly qualified type name. - The instance of the , if available; null, otherwise. - - - - Converts an assembly name + type name into a object. - - The assembly name. - The type name. - The instance of the , if available; null, otherwise. - - - - Gets an assembly qualified type name for serialization, with special dispensation for types which - originate in the execution assembly. - - - - - Retrieves a substring from the string, with whitespace trimmed on both ends. - - The string. - The starting index. - The length. - - A substring starting no earlier than startIndex and ending no later - than startIndex + length. - - - - - Default implementation of . - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of and . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - The message to send - - - - Initializes a new instance of the class. - - The format of the message to send - The arguments used to format the message - - - - - - - - - - Default implementation of . - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - - - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - - - - Default implementation of . - - - - - Initializes a new instance of the class. - - - - - Formats arguments for display in theories. - - - - - Format the value for presentation. - - The value to be formatted. - - - The formatted value. - - - - Format the value for presentation. - - The value to be formatted. - - The formatted value. - - - - Default implementation of used by the xUnit.net equality assertions. - - The type that is being compared. - - - - Initializes a new instance of the class. - - The inner comparer to be used when the compared objects are enumerable. - - - - - - - - - - - - - A class that wraps to create . - - The type that is being compared. - - - - Initializes a new instance of the class. - - The comparer that is being adapted. - - - - - - - - - - Gets the substitution token used as assembly name suffix to indicate that the assembly is - a generalized reference to the platform-specific assembly. - - - - - Base class for all long-lived objects that may cross over an AppDomain. - - - - - Disconnects all remote objects. - - - - - A mirror class of the CLR's class. - - - - - Initializes a new instance of the class. - - The data to copy into the serialization info - - - - - - - - - - - - - Returns BASE64 encoded string that represents the entirety of the data. - - - - - Returns a triple for a key/value pair of data in a complex object - - The triple to be serialized - The serialized version of the triple - - - - Returns the triple values out of a serialized triple. - - The serialized triple - The de-serialized triple - - - - De-serializes a value that was serialized with . - - The type of the object to de-serialize into - The serialized value - The de-serialized object - - - - Serializes an object. - - The value to be serialized - The serialized object - - - - Represents a triple of information used when serializing complex types: the property name, - the value to be serialized, and the value's type. - - - - - Gets the triple's key - - - - - Gets the triple's value - - - - - Gets the triple's value type - - - - - Initializes a new instance of the class. - - The triple's key - The triple's value - The triple's value type - - - - Rethrows an exception object without losing the existing stack trace information - - The exception to re-throw. - - For more information on this technique, see - http://www.dotnetjunkies.com/WebLog/chris.taylor/archive/2004/03/03/8353.aspx. - The remote_stack_trace string is here to support Mono. - - - - - Unwraps an exception to remove any wrappers, like . - - The exception to unwrap. - The unwrapped exception. - - - - Guard class, used for guard clauses and argument validation - - - - - - - - - - - - - - Methods which help bridge and contain the differences between Type and TypeInfo. - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/xunit.extensibility.execution.2.4.2.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/xunit.extensibility.execution.2.4.2.nupkg deleted file mode 100644 index 23d88b98..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.extensibility.execution.2.4.2/xunit.extensibility.execution.2.4.2.nupkg and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/.signature.p7s b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/.signature.p7s deleted file mode 100644 index f38ecf40..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/.signature.p7s and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/License.txt b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/License.txt deleted file mode 100644 index ca6257a6..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/License.txt +++ /dev/null @@ -1,48 +0,0 @@ -Unless otherwise noted, the source code here is covered by the following license: - - Copyright (c) .NET Foundation and Contributors - All Rights Reserved - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ------------------------ - -The code in src/xunit.runner.visualstudio/Utility/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions was imported from: - https://github.com/dotnet/core-setup/tree/v2.0.1/src/managed/Microsoft.DotNet.PlatformAbstractions - -The code in src/xunit.runner.visualstudio/Utility/AssemblyResolution/Microsoft.DotNet.PlatformAbstractions was imported from: - https://github.com/dotnet/core-setup/tree/v2.0.1/src/managed/Microsoft.Extensions.DependencyModel - -Both sets of code are covered by the following license: - - The MIT License (MIT) - - Copyright (c) 2015 .NET Foundation - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE. diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.abstractions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.abstractions.dll deleted file mode 100644 index a61163e6..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.abstractions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.reporters.net452.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.reporters.net452.dll deleted file mode 100644 index ccef54d2..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.reporters.net452.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.utility.net452.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.utility.net452.dll deleted file mode 100644 index 47034b3d..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.utility.net452.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.props b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.props deleted file mode 100644 index 12ae7d04..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.props +++ /dev/null @@ -1,26 +0,0 @@ - - - - - xunit.runner.visualstudio.testadapter.dll - PreserveNewest - False - - - xunit.runner.reporters.net452.dll - PreserveNewest - False - - - xunit.runner.utility.net452.dll - PreserveNewest - False - - - xunit.abstractions.dll - PreserveNewest - False - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.testadapter.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.testadapter.dll deleted file mode 100644 index 82a2b66b..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/net462/xunit.runner.visualstudio.testadapter.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.abstractions.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.abstractions.dll deleted file mode 100644 index d1e90bf7..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.abstractions.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.reporters.netcoreapp10.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.reporters.netcoreapp10.dll deleted file mode 100644 index 7481503f..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.reporters.netcoreapp10.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.utility.netcoreapp10.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.utility.netcoreapp10.dll deleted file mode 100644 index 68468458..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.utility.netcoreapp10.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.dotnetcore.testadapter.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.dotnetcore.testadapter.dll deleted file mode 100644 index 5e9d619e..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.dotnetcore.testadapter.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.props b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.props deleted file mode 100644 index da358dce..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/netcoreapp3.1/xunit.runner.visualstudio.props +++ /dev/null @@ -1,21 +0,0 @@ - - - - - xunit.runner.visualstudio.dotnetcore.testadapter.dll - PreserveNewest - False - - - xunit.runner.reporters.netcoreapp10.dll - PreserveNewest - False - - - xunit.runner.utility.netcoreapp10.dll - PreserveNewest - False - - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.reporters.netstandard15.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.reporters.netstandard15.dll deleted file mode 100644 index fa4048cb..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.reporters.netstandard15.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.netstandard15.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.netstandard15.dll deleted file mode 100644 index bf147284..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.netstandard15.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.dll deleted file mode 100644 index 7580ba83..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.pri b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.pri deleted file mode 100644 index 9bcb7bbb..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.utility.uwp10.pri and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.props b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.props deleted file mode 100644 index 65e9efbe..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.props +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - xunit.runner.visualstudio.uwp.testadapter.dll - PreserveNewest - False - - - \ No newline at end of file diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.targets b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.targets deleted file mode 100644 index 08a2913d..00000000 --- a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.targets +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - xunit.runner.visualstudio.uwp.testadapter.dll - - - xunit.runner.visualstudio.uwp.testadapter.pri - - - xunit.runner.reporters.netstandard11.dll - - - xunit.runner.utility.uwp10.dll - - - xunit.runner.utility.uwp10.pri - - - - - diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.dll b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.dll deleted file mode 100644 index 7dc9df3c..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.dll and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.pri b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.pri deleted file mode 100644 index ac7b3a14..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/build/uap10.0.16299/xunit.runner.visualstudio.uwp.testadapter.pri and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/net462/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/net462/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/netcoreapp3.1/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/netcoreapp3.1/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/uap10.0.16299/_._ b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/lib/uap10.0.16299/_._ deleted file mode 100644 index e69de29b..00000000 diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/logo-512-transparent.png b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/logo-512-transparent.png deleted file mode 100644 index abdf238e..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/logo-512-transparent.png and /dev/null differ diff --git a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/xunit.runner.visualstudio.2.4.5.nupkg b/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/xunit.runner.visualstudio.2.4.5.nupkg deleted file mode 100644 index 3a5d7fa0..00000000 Binary files a/UnitTesting/T280/PhoneRepairShop_Code/packages/xunit.runner.visualstudio.2.4.5/xunit.runner.visualstudio.2.4.5.nupkg and /dev/null differ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll b/WorkflowDevelopment/T270/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll index efea037f..6aab8896 100644 Binary files a/WorkflowDevelopment/T270/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll and b/WorkflowDevelopment/T270/PhoneRepairShop/Bin/PhoneRepairShop_Code.dll differ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/AR/AR302000/extensions/AR302000_PhoneRepairShop_generated.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/AR/AR302000/extensions/AR302000_PhoneRepairShop_generated.html index 00cde9b0..ede352a4 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/AR/AR302000/extensions/AR302000_PhoneRepairShop_generated.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/AR/AR302000/extensions/AR302000_PhoneRepairShop_generated.html @@ -1,3 +1,3 @@ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts deleted file mode 100644 index 5138a0c0..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { - PXFieldState, - PXFieldOptions, - PXView, - updateDecorator, - removeDecorator, - featureInstalled, - FeaturesSet, - placeBeforeView, - placeAfterView, - placeBeforeProperty, - placeAfterProperty, - graphInfo, - viewInfo, - gridConfig, - columnConfig, - treeConfig, - controlConfig, - linkCommand, - fieldOptions, - fieldConfig, - fieldInfo, - headerDescription, - autoRefresh, - mappedToViewField, - suppressLabel, - readOnly, - disabled, - unbound, - text, - multiLine, - primaryKey, - type, - ControlParameter, - NetType, - MenuItemRenderType, - ScrollMode, - TextAlign, - GridPreset, - GridColumnType, - GridColumnShowHideMode, - GridColumnDisplayMode, - GridAutoGrowMode, - GridPagerMode, - GridFastFilterVisibility, - GridNoteFilesShowMode, - HeaderDescription, - GridColumnGeneration, - GridFilterBarVisibility, - NodeSelectMode, - PXSelectorMode, - ApplySuggestionMode, - ITextEditorControlConfig, - ITimeSpanConfig, - ISelectorControlConfig, - ISegmentedSelectorControlConfig, - IEditorControlConfig, - INumberEditorControlConfig, - IMaskEditorControlConfig, - IMailEditorControlConfig, - ILinkEditorControlConfig, - IDropDownConfig, - IDatetimeEditControlConfig, - IColorPickerControlConfig, - ICheckBoxControlConfig, - ICalendarControlConfig, - IBranchSelectorConfig, - IBarcodeInputControlConfig, - ITreeSelectorConfig, - IRichTextEditorConfig, - IFormulaEditorConfig, - ICurrencyControlConfig, - FieldGenerationMode, - createCollection -} from "client-controls"; -import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; - -export interface IN202500_PhoneRepairShop3_generated extends IN202500 {} -export class IN202500_PhoneRepairShop3_generated { - @gridConfig({ preset: GridPreset.Details }) - @viewInfo({ containerName: "Compatible Devices" }) - CompatibleDevices = createCollection(RSSVStockItemDevice); -} - -export interface ItemSettings_PhoneRepairShop3_generated extends ItemSettings {} -export class ItemSettings_PhoneRepairShop3_generated { - @fieldInfo({ commitChanges: true }) - UsrRepairItem: PXFieldState; - - UsrRepairItemType: PXFieldState; -} - -export class RSSVStockItemDevice extends PXView { - @fieldInfo({ commitChanges: true }) - DeviceID: PXFieldState; - DeviceID_description: PXFieldState; -} diff --git a/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html similarity index 77% rename from Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html rename to WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html index 31257936..7e7117a9 100644 --- a/Customization/T230/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop3_generated.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.html @@ -2,7 +2,7 @@ - - - + + + diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts new file mode 100644 index 00000000..85f562c9 --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/IN/IN202500/extensions/IN202500_PhoneRepairShop_generated.ts @@ -0,0 +1,31 @@ +import { + PXFieldState, + PXView, + viewInfo, + gridConfig, + fieldInfo, + GridPreset, + createCollection, + PXFieldOptions +} from "client-controls"; +import { IN202500, ItemSettings } from "src/screens/IN/IN202500/IN202500"; + +export interface IN202500_PhoneRepairShop_generated extends IN202500 {} +export class IN202500_PhoneRepairShop_generated { + @viewInfo({ containerName: "Compatible Devices" }) + CompatibleDevices = createCollection(RSSVStockItemDevice); +} + +export interface ItemSettings_PhoneRepairShop_generated extends ItemSettings {} +export class ItemSettings_PhoneRepairShop_generated { + @fieldInfo({ commitChanges: true }) + UsrRepairItem: PXFieldState; + + UsrRepairItemType: PXFieldState; +} + +@gridConfig({ preset: GridPreset.Details }) +export class RSSVStockItemDevice extends PXView { + DeviceID: PXFieldState; + DeviceID_description: PXFieldState; +} diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html index ae1b3ff8..5ecd3dce 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS101000/RS101000.html @@ -1,11 +1,11 @@ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html index 8e6e9c18..c890c2f8 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.html @@ -1,3 +1,3 @@ \ No newline at end of file + + diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts index 3910668c..937fb444 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS201000/RS201000.ts @@ -1,4 +1,3 @@ - import { PXScreen, graphInfo, createCollection, PXView, PXFieldState, @@ -15,6 +14,7 @@ export class RS201000 extends PXScreen { RepairService = createCollection(RSSVRepairService); } +// View @gridConfig({ preset: GridPreset.Primary }) diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html index fcbc1b11..67cc9844 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS202000/RS202000.html @@ -1,10 +1,10 @@ \ No newline at end of file + + + + + + + + + diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts index 5c2ea012..b4699f90 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS203000/RS203000.ts @@ -6,7 +6,9 @@ import { createCollection, createSingle, graphInfo, PXView, PXScreen, PXFieldSta primaryView: "RepairPrices", }) export class RS203000 extends PXScreen { + @viewInfo({containerName: "Repair Prices"}) RepairPrices = createSingle(RSSVRepairPrice); + @viewInfo({containerName: "Repair Items"}) RepairItems = createCollection(RSSVRepairItem); @viewInfo({containerName: "Labor"}) Labor = createCollection(RSSVLabor); diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html index 021eff63..f002bb0c 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.html @@ -1,37 +1,37 @@ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts index 2bc4e84b..9a601053 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/RS301000.ts @@ -2,7 +2,7 @@ import { PXScreen, createCollection, graphInfo, viewInfo, createSingle, PXView, PXFieldOptions, PXFieldState, controlConfig, - gridConfig, GridPreset, + gridConfig, GridPreset } from "client-controls"; @graphInfo({ diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.html b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.html index d08f19f2..dd109f46 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.html +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.html @@ -1,3 +1,5 @@ \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.ts b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.ts index 8d312599..9d59f84f 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.ts +++ b/WorkflowDevelopment/T270/PhoneRepairShop/FrontendSources/screen/src/development/screens/RS/RS301000/extensions/RS301000_PhoneRepairShop_UsrOrderType.ts @@ -1,8 +1,11 @@ import { PXFieldState, fieldInfo -} from "client-controls"; -import { RS301000, RSSVWorkOrder} from "src/customizationScreens/Company/screens/RS/RS301000/RS301000"; + } from "client-controls"; +import { + RS301000, + RSSVWorkOrder + } from "src/customizationScreens/Company/screens/RS/RS301000/RS301000"; export interface RS301000_PhoneRepairShop_UsrOrderType extends RS301000 {} export class RS301000_PhoneRepairShop_UsrOrderType {} diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/InputData/RSSVSetup.csv b/WorkflowDevelopment/T270/PhoneRepairShop/InputData/RSSVSetup.csv index 84e695e7..b6fc91c4 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/InputData/RSSVSetup.csv +++ b/WorkflowDevelopment/T270/PhoneRepairShop/InputData/RSSVSetup.csv @@ -1,2 +1,2 @@ CompanyID;NumberingID;WalkInCustomerID;DefaultEmployee;PrepaymentPercent;CreatedByID;CreatedByScreenID;CreatedDateTime;LastModifiedByID;LastModifiedByScreenID;LastModifiedDateTime;tstamp;NoteID -2;WORKORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 +2;RSSVWORDER;5441;12414;10.000000;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;B5344897-037E-4D58-B5C3-1BDFD0F47BF9;RS101000;2022-10-13 11:37:33.340;0x0000000000467952;80F05B4B-EA4A-ED11-9E7A-9828A61840C3 diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx b/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx deleted file mode 100644 index 8c399a65..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx +++ /dev/null @@ -1,32 +0,0 @@ -<%@ Page Language="C#" MasterPageFile="~/MasterPages/FormView.master" -AutoEventWireup="true" ValidateRequest="false" CodeFile="RS202000.aspx.cs" -Inherits="Page_RS202000" Title="Untitled Page" %> -<%@ MasterType VirtualPath="~/MasterPages/FormView.master" %> - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx.cs b/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx.cs deleted file mode 100644 index 5ea90835..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/Pages/RS/RS202000.aspx.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -public partial class Page_RS202000 : PX.Web.UI.PXPage -{ - protected void Page_Load(object sender, EventArgs e) - { - } -} \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/AR302000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/AR302000.xml new file mode 100644 index 00000000..0cacd6f5 --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/AR302000.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml index d34eed57..2d443757 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Repair_Work_Orders.xml @@ -1,224 +1,226 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
- -
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml index f6d82d5c..8268eeaf 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Serviced_Devices.xml @@ -1,217 +1,217 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
- -
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml index f004a776..8d61f7a2 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/GenericInquiryScreen_Services_and_Prices.xml @@ -1,217 +1,219 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
- -
-
- -
-
-
-
-
- -
-
-
- -
-
-
-
- -
- -
-
-
- -
- -
-
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/IN202500.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/IN202500.xml new file mode 100644 index 00000000..e02e7f4d --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/IN202500.xml @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ProjectMetadata.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ProjectMetadata.xml index 0960650e..330da83f 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ProjectMetadata.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ProjectMetadata.xml @@ -1,2 +1,2 @@  - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml index d141ee76..b7f6b92f 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS101000.xml @@ -1,113 +1,30 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml index c16870fd..fbd1b28c 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS201000.xml @@ -1,126 +1,126 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml index 760fdf6f..c07684c2 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS202000.xml @@ -1,31 +1,31 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml index bff7fb20..205ccbcb 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2020PL.xml @@ -1,25 +1,25 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml index 12679008..4eefc5f9 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS203000.xml @@ -1,30 +1,30 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml deleted file mode 100644 index 38c29d4f..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS2030PL.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - -
-
-
-
-
- - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml index df56161d..2f1d95aa 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS301000.xml @@ -1,113 +1,30 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml index acbd22ff..b92e80a2 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/ScreenWithRights_RS3010PL.xml @@ -1,111 +1,25 @@  - - - - - - - - - - -
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + +
+
+
+
+
+ + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml new file mode 100644 index 00000000..aae072cd --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_09d652c6_ade9_4dba_9955_971d128d15f1.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml deleted file mode 100644 index 1b4cb017..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_3ca4e38e_dcc6_4bed_91d6_70d20c260065.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml deleted file mode 100644 index 57ba0cbf..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_4a43578c_33ac_4fcd_8666_c7cebe7d3bf6.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml new file mode 100644 index 00000000..a807b57e --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_5dbaf1e0_50ce_482a_9461_0d5fc1eeb9f5.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml new file mode 100644 index 00000000..2d4e68f9 --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_9ea17abd_333a_43ce_958d_632b28bf8084.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml deleted file mode 100644 index 39202ef7..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_a1ee94a7_8ec0_4eff_a9a3_1f992c7a2b9b.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml deleted file mode 100644 index 30562243..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_ca5e0b9a_732f_481e_9c08_73de7c444c1f.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml deleted file mode 100644 index f163d352..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_d9ab8c5f_b853_44e9_a1d7_4c14f556fc37.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_da9b8f21_791e_4b41_8b1e_3d391a7f8f02.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_da9b8f21_791e_4b41_8b1e_3d391a7f8f02.xml new file mode 100644 index 00000000..257d05a8 --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_da9b8f21_791e_4b41_8b1e_3d391a7f8f02.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f1f475b6_4d33_46d3_9db6_3be70bc06b33.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f1f475b6_4d33_46d3_9db6_3be70bc06b33.xml new file mode 100644 index 00000000..af078f81 --- /dev/null +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f1f475b6_4d33_46d3_9db6_3be70bc06b33.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml index c80fdd52..d5e88af6 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/SiteMapNode_f21272b4_6f90_4504_96fd_f825b085710b.xml @@ -1,54 +1,54 @@  - - - - - - - - - - - - -
-
-
-
- -
- -
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/Sql_RSSVRepairService.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/Sql_RSSVRepairService.xml index a544d9f9..2538cb9c 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/Sql_RSSVRepairService.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/Sql_RSSVRepairService.xml @@ -20,10 +20,6 @@ - - - - diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml index 5933e5d1..870e6ac2 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_ar_ar302000_aspx.xml @@ -1,16 +1 @@ - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_in_in202500_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_in_in202500_aspx.xml index 9c0529c7..2c8b95ac 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_in_in202500_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_in_in202500_aspx.xml @@ -1,77 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml index 83430223..ddead6c2 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs101000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml index 021be412..1606266a 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs201000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml deleted file mode 100644 index 779f99d3..00000000 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs202000_aspx.xml +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml index 7fb45d7a..3a5a503b 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs203000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml index a7c74108..ab9e3a15 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml +++ b/WorkflowDevelopment/T270/PhoneRepairShop/_project/pages_rs_rs301000_aspx.xml @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs index 3855bcbb..94e1afcc 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs +++ b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/DAC/RSSVSetup.cs @@ -15,7 +15,7 @@ public class RSSVSetup : PXBqlTable, IBqlTable [PXUIField(DisplayName = "Numbering Sequence")] [PXSelector(typeof(Numbering.numberingID), DescriptionField = typeof(Numbering.descr))] - [PXDefault("WORKORDER")] + [PXDefault("RSSVWORDER")] public virtual string? NumberingID { get; set; } public abstract class numberingID : PX.Data.BQL.BqlString.Field { } #endregion diff --git a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj index 4f3ab305..2446c38d 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj +++ b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/PhoneRepairShop_code.csproj @@ -46,10 +46,10 @@ - 9.0.2 + 10.0.0 - 6.0.0 + 6.1.2 diff --git a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs index 8957edd3..ac84a9d4 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs +++ b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairPriceMaint.cs @@ -39,6 +39,21 @@ public SelectFrom. public SelectFrom. Where>. View DefaultWarranty = null!; + + public PXFilter MasterView; + public PXFilter DetailsView; + + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { + + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } #endregion #region Event Handlers diff --git a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs index b09283c0..e4e59951 100644 --- a/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs +++ b/WorkflowDevelopment/T270/PhoneRepairShop_Code/PhoneRepairShop_Code/RSSVRepairServiceMaint.cs @@ -4,26 +4,41 @@ namespace PhoneRepairShop { - public class RSSVRepairServiceMaint : PXGraph - { - - protected void _(Events.FieldUpdated e) + public class RSSVRepairServiceMaint : PXGraph { - var row = e.Row; - row.PreliminaryCheck = !(row.WalkInService == true); + + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.PreliminaryCheck = !(row.WalkInService == true); } - protected void _(Events.FieldUpdated e) - { - var row = e.Row; - row.WalkInService = !(row.PreliminaryCheck == true); + protected void _(Events.FieldUpdated e) + { + var row = e.Row; + row.WalkInService = !(row.PreliminaryCheck == true); } - public SelectFrom.View RepairService = null!; + public PXSave Save = null!; + public PXCancel Cancel = null!; + + public SelectFrom.View RepairService = null!; - public PXSave Save = null!; - public PXCancel Cancel = null!; + public PXFilter MasterView; + public PXFilter DetailsView; + [Serializable] + public class MasterTable : PXBqlTable, IBqlTable + { - } + } + + [Serializable] + public class DetailsTable : PXBqlTable, IBqlTable + { + + } + } } \ No newline at end of file