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
add field "LotSerialNbr" | |
{ | |
special = BarCodeScan | |
} |
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
/// <summary> | |
/// DHPrint - DeviceHub Print - Sends an uploaded file to a printer via Device Hub | |
/// </summary> | |
/// <param name="mergedFile">The label control file (as PX.SM.FileInfo)</param> | |
/// <param name="printer">The SMPrinter for the Device Hub PrinterID</param> | |
public static void DHPrint(FileInfo mergedFile, SMPrinter printer) | |
{ | |
Dictionary<string, string> parameters = new Dictionary<string, string> { { | |
"FILEID", | |
mergedFile.UID.ToString() |
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
protected virtual bool UploadLabelControlFile(StringBuilder labelSB, string language) | |
{ | |
byte[] labelBytes = Encoding.ASCII.GetBytes(labelSB.ToString()); | |
// Define a unique filename for the label control file | |
string filename = "label-" + | |
Guid.NewGuid().ToString() + | |
"." + | |
language.ToLower(); |
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 EPApproval Cache Attached | |
[PXDBDate()] | |
[PXDefault(typeof(SSRQRequisition.requestDate), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_DocDate_CacheAttached(PXCache sender) | |
{ | |
} | |
[PXDBInt()] | |
[PXDefault(typeof(SSRQRequisition.customerID), PersistingCheck = PXPersistingCheck.Nothing)] | |
protected virtual void EPApproval_BAccountID_CacheAttached(PXCache sender) |
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
USE [MyDatabase] | |
GO | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
IF COL_LENGTH('dbo.XXMyTable', 'OldOwnerID') IS NULL |
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
USE [MyDatabase] | |
GO | |
SET ANSI_NULLS ON | |
GO | |
SET QUOTED_IDENTIFIER ON | |
GO | |
IF COL_LENGTH('dbo.XXMyTable', 'OwnerID') IS NOT NULL AND COL_LENGTH('dbo.XXMyTable', 'OldOwnerID') IS NOT NULL |
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 OwnerID | |
[Owner(DisplayName = "Owner")] | |
public virtual int? OwnerID { get; set; } | |
public abstract class ownerID : PX.Data.BQL.BqlInt.Field<ownerID> { } | |
#endregion | |
#region IAssign Members | |
int? PX.Data.EP.IAssign.OwnerID | |
{ | |
get { return OwnerID; } |
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
[PXMergeAttributes(Method = MergeMethod.Append)] | |
[PXRestrictor(typeof( | |
Where<INLocationExt.usrXXMyCondition, NotEqual<ConditionType.condition1>> | |
), "")] | |
protected virtual void INTran_ToLocationID_CacheAttached(PXCache sender) { } |
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
protected void _(Events.RowSelected<XXMyDAC> e) | |
{ | |
XXMyDAC row = x.Row; | |
if(*condition*) // Substitute your conditional logic here | |
{ | |
SelectableValues2 listattr = new SelectableValues2(); | |
PXStringListAttribute.SetList<XXMyDAC.myField> | |
(e.Cache, row, listattr.AllowedValues, listattr.AllowedLabels); | |
} |
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
add screen IN202500 { | |
add container "StockItemSummary" { | |
... | |
add recordAction "CreateTagAction" { | |
displayName = "Create Tag" | |
redirect = true | |
redirectToDialog = "IN202500D1" | |
} | |
} | |
add dialog IN202500D1 { |
OlderNewer