Looking up payment plans for an order

Hi,

Did a bit of a documentation trawl on this one but couldn't easily find the answer I'm looking for:

 

Where would I go to look up the particular schedule that has been used on an order? So in other words, is there a table that links up orders with the schedule id from TR_BILLING_SCHEDULE?

 

 

Cheers,

 

Matt

Parents
  • Hi Matt,

    This data is stored in T_ORDER_SCHEDULE.  

    From the Table Structures doc:

    The T_ORDER_SCHEDULE table is the record of the payment plan on for the order.

    1.1. Columns:

    1.1.1. order_no int NOT NULL

    1.1.2. order_sch_no int NOT NULL

    1.1.3. sch_type int NOT NULL  (always 1 for order schedules; 2 indicates schedule for an invoice in which case order_no represents a payment_no)

    1.1.4. amt_due money NULL

    1.1.5. due_dt datetime NULL

    1.1.6. billing_type int NULL (from tr_billing_type)

    1.1.7. mir_lock int NOT NULL

    1.1.8. created_by varchar (8) NULL

    1.1.9. create_dt datetime NULL

    1.1.10. create_loc varchar (16) NULL 

    Cheers

    Kim

Reply
  • Hi Matt,

    This data is stored in T_ORDER_SCHEDULE.  

    From the Table Structures doc:

    The T_ORDER_SCHEDULE table is the record of the payment plan on for the order.

    1.1. Columns:

    1.1.1. order_no int NOT NULL

    1.1.2. order_sch_no int NOT NULL

    1.1.3. sch_type int NOT NULL  (always 1 for order schedules; 2 indicates schedule for an invoice in which case order_no represents a payment_no)

    1.1.4. amt_due money NULL

    1.1.5. due_dt datetime NULL

    1.1.6. billing_type int NULL (from tr_billing_type)

    1.1.7. mir_lock int NOT NULL

    1.1.8. created_by varchar (8) NULL

    1.1.9. create_dt datetime NULL

    1.1.10. create_loc varchar (16) NULL 

    Cheers

    Kim

Children