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
[Serializable] | |
[PXBreakInheritance] | |
[PXCacheName(Messages.Lead)] | |
[PXTable(typeof(CR.Contact.contactID))] | |
[CRCacheIndependentPrimaryGraph( | |
typeof(LeadMaint), | |
typeof(Select<CRLead, | |
Where<CRLead.contactID, Equal<Current<CRLead.contactID>>>>))] | |
[PXGroupMask(typeof(LeftJoinSingleTable<BAccount, On<BAccount.bAccountID, Equal<CRLead.bAccountID>>>), | |
WhereRestriction = typeof(Where<BAccount.bAccountID, IsNull, Or<Match<BAccount, Current<AccessInfo.userName>>>>))] |
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
[PXBreakInheritance] | |
[Serializable] | |
public partial class INItemStatsTotal : INItemStats | |
{ | |
... | |
} |
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 void _SetProcessTargetInternal(string graphType, string stepID, string action, string menu, IEnumerable parameters) | |
{ | |
if (TryWithExternal(delegate(PXProcessingBase<Table> e) | |
{ | |
e._SetProcessTargetInternal(graphType, stepID, action, menu, parameters); | |
})) | |
{ | |
return; | |
} | |
if (menu != null && menu.Contains("$")) |
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 virtual void SetProcessWorkflowAction(string action, Dictionary<string, object> parameters) | |
{ | |
_SetProcessTargetInternal(null, null, action, null, parameters); | |
} |
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 void ARRetainageFilter_RowSelected(PXCache sender, PXRowSelectedEventArgs e) | |
{ | |
ARRetainageFilter filter = e.Row as ARRetainageFilter; | |
if (filter == null) return; | |
bool isAutoRelease = ARSetup.Current.RetainageInvoicesAutoRelease == true; | |
DocumentList.SetProcessDelegate(delegate (List<ARInvoiceExt> list) | |
{ | |
ARInvoiceEntry graph = CreateInstance<ARInvoiceEntry>(); |
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
if (!String.IsNullOrEmpty(filter.Action)) | |
{ | |
Orders.SetProcessWorkflowAction( | |
filter.Action, | |
isCreateShipment ? filter.ShipmentDate | |
: isCreateChildOrders ? filter.SchedOrderDate | |
: filter.EndDate, | |
filter.SiteID); | |
} |
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
private void CancelLogDeletion(PXCache sender, PXRowDeletingEventArgs e) | |
{ | |
e.Cancel = true; | |
} |
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 delegate IEnumerable ReopenAppointmentDelegate(PXAdapter adapter); | |
[PXOverride] | |
public IEnumerable ReopenAppointment(PXAdapter adapter, ReopenAppointmentDelegate baseMethod) | |
{ | |
try | |
{ | |
Base.FieldVerifying.AddHandler<FSAppointmentDet.qty>(CancelActualQtyUpdate); | |
Base.RowDeleting.AddHandler<FSAppointmentLog>(CancelLogDeletion); | |
var ret = baseMethod(adapter); | |
return ret; |
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 virtual void UpdateAppointmentDetActualFields(AppointmentCore.AppointmentDetails_View appointmentDetails, | |
AppointmentCore.AppointmentServiceEmployees_View appointmentEmployees, | |
bool isReOpen = false) | |
{ | |
foreach (FSAppointmentDet fsAppointmentDetRow in appointmentDetails.Select().RowCast<FSAppointmentDet>()) | |
{ | |
if (fsAppointmentDetRow.IsService || fsAppointmentDetRow.IsInventoryItem) | |
{ | |
if (fsAppointmentDetRow.IsService && fsAppointmentDetRow.StaffRelated == true) | |
{ |
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 virtual void ClearAppointmentLog() | |
{ | |
foreach (FSAppointmentLog fsAppointmentLogRow in LogRecords.Select().RowCast<FSAppointmentLog>().Where(_ => _.Type != ID.Type_Log.TRAVEL)) | |
{ | |
LogRecords.Delete(fsAppointmentLogRow); | |
} | |
} |
NewerOlder