Exemplo n.º 1
0
            public InvoiceItem(PXGraph graph, ServiceOrderInfo serviceOrderInfo, int index)
            {
                this.FSServiceOrderRow = serviceOrderInfo.FSServiceOrderRow;
                this.FSSrvOrdTypeRow   = serviceOrderInfo.FSSrvOrdTypeRow;
                this.Index             = index;
                this.CustomerID        = serviceOrderInfo.FSServiceOrderRow.BillCustomerID;
                this.SOID = serviceOrderInfo.FSServiceOrderRow.SOID;
                this.CustomerLocationID  = serviceOrderInfo.FSServiceOrderRow.BillLocationID;
                this.CustPORefNbr        = serviceOrderInfo.FSServiceOrderRow.CustPORefNbr;
                this.CustWorkOrderRefNbr = serviceOrderInfo.FSServiceOrderRow.CustWorkOrderRefNbr;
                this.PostToAPNegBalances = serviceOrderInfo.FSSrvOrdTypeRow.PostNegBalanceToAP;

                this.FSPostingLineDetailsToPostInAR_AP = new List <PostingLine>();
                this.FSPostingLineDetailsToPostInSO    = new List <PostingLine>();

                foreach (FSSODet fsSODetRow in serviceOrderInfo.FSSODetToPostInAR_AP)
                {
                    this.AddSOLineToList(graph, fsSODetRow, serviceOrderInfo, true, false);
                }

                foreach (FSSODet fsSODetRow in serviceOrderInfo.FSSODetToPostInSO)
                {
                    this.AddSOLineToList(graph, fsSODetRow, serviceOrderInfo, false, true);
                }
            }
Exemplo n.º 2
0
 public ServiceOrderInfo(ServiceOrderToPost fsServiceOrderRow,
                         FSSrvOrdType fsSrvOrdTypeRow,
                         PXResultset <FSSODet> bqlResultSet_FSSODet_PostAR_AP,
                         PXResultset <FSSODet> bqlResultSet_FSSODet_PostSO)
 {
     this.FSServiceOrderRow    = fsServiceOrderRow;
     this.FSSrvOrdTypeRow      = fsSrvOrdTypeRow;
     this.FSSODetToPostInAR_AP = bqlResultSet_FSSODet_PostAR_AP;
     this.FSSODetToPostInSO    = bqlResultSet_FSSODet_PostSO;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
            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);
                }
            }
Exemplo n.º 5
0
 public GroupTransition(int index, ServiceOrderToPost fsServiceOrderRow)
 {
     this.Index             = index;
     this.FSServiceOrderRow = fsServiceOrderRow;
 }