public AppointmentInfo(AppointmentToPost fsAppointmentRow, ServiceOrderToPost fsServiceOrderRow, FSSrvOrdType fsSrvOrdTypeRow, PXResultset <FSAppointmentDet> bqlResultSet_FSAppointmentDet_PostAR_AP, PXResultset <FSAppointmentDet> bqlResultSet_FSAppointmentDet_PostSO, PXResultset <FSAppointmentDet> bqlResultSet_FSAppointmentInventoryItem_PostAR_AP, PXResultset <FSAppointmentDet> bqlResultSet_FSAppointmentInventoryItem_PostSO) { this.FSAppointmentRow = fsAppointmentRow; this.FSServiceOrderRow = fsServiceOrderRow; this.FSSrvOrdTypeRow = fsSrvOrdTypeRow; this.FSAppointmentDetToPostInAR_AP = bqlResultSet_FSAppointmentDet_PostAR_AP; this.FSAppointmentDetToPostInSO = bqlResultSet_FSAppointmentDet_PostSO; this.FSAppointmentInventoryItemToPostIn_AR_AP = bqlResultSet_FSAppointmentInventoryItem_PostAR_AP; this.FSAppointmentInventoryItemToPostInSO = bqlResultSet_FSAppointmentInventoryItem_PostSO; }
public InvoiceItem(PXGraph graph, AppointmentInfo appointmentInfo, int index) { this.FSAppointmentRow = appointmentInfo.FSAppointmentRow; this.FSServiceOrderRow = appointmentInfo.FSServiceOrderRow; this.FSSrvOrdTypeRow = appointmentInfo.FSSrvOrdTypeRow; this.Index = index; this.CustomerID = appointmentInfo.FSServiceOrderRow.BillCustomerID; this.SOID = appointmentInfo.FSServiceOrderRow.SOID; this.AppointmentID = appointmentInfo.FSAppointmentRow.AppointmentID; this.CustomerLocationID = appointmentInfo.FSServiceOrderRow.BillLocationID; this.CustPORefNbr = appointmentInfo.FSServiceOrderRow.CustPORefNbr; this.CustWorkOrderRefNbr = appointmentInfo.FSServiceOrderRow.CustWorkOrderRefNbr; this.PostToAPNegBalances = appointmentInfo.FSSrvOrdTypeRow.PostNegBalanceToAP; this.FSPostingLineDetailsToPostInAR_AP = new List <PostingLine>(); this.FSPostingLineDetailsToPostInSO = new List <PostingLine>(); foreach (FSAppointmentDet fsAppointmentDetRow in appointmentInfo.FSAppointmentDetToPostInAR_AP) { this.AddAppointmentLineToList(graph, fsAppointmentDetRow, null, appointmentInfo, true, false); } foreach (FSAppointmentDet fsAppointmentDetRow in appointmentInfo.FSAppointmentDetToPostInSO) { this.AddAppointmentLineToList(graph, fsAppointmentDetRow, null, appointmentInfo, false, true); } foreach (FSAppointmentDet fsAppointmentInventoryItemRow in appointmentInfo.FSAppointmentInventoryItemToPostIn_AR_AP) { this.AddAppointmentLineToList(graph, null, fsAppointmentInventoryItemRow, appointmentInfo, true, false); } foreach (FSAppointmentDet fsAppointmentInventoryItemRow in appointmentInfo.FSAppointmentInventoryItemToPostInSO) { this.AddAppointmentLineToList(graph, null, fsAppointmentInventoryItemRow, appointmentInfo, false, true); } }
public GroupTransition(int index, AppointmentToPost fSAppointmentRow) { this.Index = index; this.FSAppointmentRow = fSAppointmentRow; }