Example 147: Validating a Customer Number in the Order Header File

Description:   This WebSmart PHP example illustrates how to add an order to an Order Header File and make sure the customer exists in the Customer File.

Action Order Number Purchase Order / Description Customer Number Order Date Order Status Order Total
Display Edit Delete
100026 PO Ref# 3924893 1 C 54801.74
Display Edit Delete
100032 PO Ref# 4634343 1 C 51595.00
Display Edit Delete
100063 Band Supplies 1 C 17.90
Display Edit Delete
100083 School Band Supplies 1 C 5627.08
Display Edit Delete
100090 School Band Supplies 1 S 2990.28
Display Edit Delete
100098 PO Ref# 3924893 1 C 458.83
Display Edit Delete
100105 Replacement Parts 1 C 1135.67
Display Edit Delete
100113 School Band Supplies 1 C .00
Display Edit Delete
100120 Band Supplies 1 C 2177.93
Display Edit Delete
200010 Band Supplies 1 S 746.34
  1. Example step.


  2. Replace:
        sample replaced text
        
    with the following:
        sample replacing text
        

Program Definition:   valid.phw

Rate This Example

Did this knowledge base article help you to achieve your goal?  Yes  No  Don't Know

Enter additional comments below.   If you want to hear back from us, include your contact information.