This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<config xmlns="http://tempuri.org/XMLSchema2.xsd"> | |
<general> | |
<browser>*firefox</browser> | |
<browserbin>C:\TestSDK\firefox\firefox.exe</browserbin> | |
<site_dst> | |
<rmhost/> | |
<url>http://localhost/BobRentAll</url> | |
<login>admin</login> | |
<pswd>123</pswd> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Test1 : Check | |
{ | |
//Add your test-specific logic in the method below for every test. | |
public override void Execute() | |
{ | |
PxLogin.LogIn("admin", "123"); | |
//Test case 1 | |
JournalEntry journalEntry = new JournalEntry(); | |
journalEntry.OpenScreen(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PartnersInq : PXGraph<PartnersInq> | |
{ | |
public PartnersInq() | |
{ | |
GenerateColumns(Partners.Cache, Courses.Select().Select(m => (UNCourse)m).ToList()); | |
} | |
protected void GenerateColumns(PXCache sender, List<UNCourse> cources) | |
{ | |
foreach (UNCourse cource in cources) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal class CompanySelectorAttribute : PXCustomSelectorAttribute | |
{ | |
public CompanySelectorAttribute() | |
: base(typeof(UPCompany.companyID)) | |
{ } | |
protected virtual IEnumerable GetRecords() | |
{ | |
return PXCompanyHelper.SelectCompanies(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class PXSYProviderSelector : PXCustomSelectorAttribute | |
{ | |
[Serializable] | |
public class ProviderRec : IBqlTable | |
{ | |
#region TypeName | |
public abstract class typeName : PX.Data.IBqlField { } | |
[PXString(128, InputMask = "", IsKey = true)] | |
[PXUIField(DisplayName = "Type Name", Visibility = PXUIVisibility.SelectorVisible)] | |
public virtual string TypeName { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using PX.Api; | |
using PX.Data; | |
using PX.DataSync.Filter; | |
namespace PX.DataSync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region FTPFileExchange | |
[System.Net.WebPermission(System.Security.Permissions.SecurityAction.Assert, Unrestricted = true)] | |
public class FTPFileExchange : BaseFileExchange, IFileExchange | |
{ | |
public String Name { get { return Messages.ExchangeFTP; } } | |
public String Code { get { return Codes.ExchangeFTPCode; } } | |
public FTPFileExchange(String login, String password) | |
: base(login, password) | |
{ } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//General usage | |
[PXDBInt] | |
[PXSelector(typeof(Search<FAClass.assetID, Where<FAClass.recordType, Equal<FARecordType.classType>>>), | |
typeof(FAClass.assetCD), typeof(FAClass.assetTypeID), typeof(FAClass.description), typeof(FAClass.usefulLife), | |
SubstituteKey = typeof(FAClass.assetCD), | |
DescriptionField = typeof(FAClass.description), CacheGlobal = true)] | |
[PXRestrictor(typeof(Where<FAClass.active, Equal<True>>), Messages.InactiveFAClass, typeof(FAClass.assetCD))] | |
[PXUIField(DisplayName = "Asset Class", Visibility = PXUIVisibility.Visible)] | |
public virtual int? ClassID { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @TableName varchar(255) | |
DECLARE TableCursor CURSOR FOR | |
SELECT table_name FROM information_schema.tables | |
WHERE table_type = 'base table' | |
OPEN TableCursor | |
FETCH NEXT FROM TableCursor INTO @TableName | |
WHILE @@FETCH_STATUS = 0 | |
BEGIN | |
DBCC DBREINDEX(@TableName,' ',90) |