Texada SRM Technical Reference Manual
Texada SRM Technical Reference Manual

View Invoice - API

API Name: TX_VIEW_INVOICE

Overview:
 This API is designed to give your customers the ability to view an Invoice exactly as printed, or to reprint it locally.


INPUT PARAMETERS:

 

   Parameter          Default Value        Comment

 

    T_WEB_ID                                 The unique Web Identification value returned

                                             by the a Customer Login API.

 

    T_INDEX_ID          default              The Index ID associated with this API that defines the

                                             Modes and Fields available.

 

    T_INVOICE_N

 

    T_TYPE                                   RecordSet = RECORDSET OUTPUT, BLANK = VIEW INVOICE AS IF

                                             IT WERE PRINTED.

 


OUTPUT PARAMETERS:

 

  Parameter                    Comment

 

    T_ERROR                   If an error is encountered this will be returned as a non-blank value.

 

    T_WEB_VIEW                Y = View output as a web page.  N = Record set output

 


RECORD SETS:

 

Record Set: GLDV

 

  Column Names                 Comment

 

    Div Code

 

    Div Name

 

    Heading Line1

 

    Heading Line2

 

    Heading Line3

 

    Heading Line4

 

    Heading Line5

 

    GST#

 

    Marketing Line1

 

    Marketing Line2

 

    Marketing Line3

 

    Marketing Line4

 

 

Record Set: RSIH

 

  Column Names                 Comment

 

    Invoice#

 

    Div Code

 

    Customer#

 

    Site#

 

    Site Name

 

    Bill Name

 

    Bill Addr1

 

    Bill Addr2

 

    Bill City

 

    Bill Prov

 

    Bill Postal

 

    Bill Phone

 

    Ship Name

 

    Ship Addr1

 

    Ship Addr2

 

    Ship City

 

    Ship Prov

 

    Ship Postal

 

    Ship Via

 

    Ship Phone

 

    Purchase Order#

 

    Clerk ID

 

    Clerk Name

 

    Identification

 

    Reference

 

    On Account

 

    On Account Amt

 

    Payment Method1

 

    Payment Amt1

 

    Payment Method2

 

    Payment Amt2

 

    Date

 

    Rental Subtotal

 

    Sales Subtotal

 

    Source

 

    Tax Amt

 

    DBR#

 

    Waiver Amt

 

    Deposit

 

    Service Subtotal

 

    Total

 

    Discounts

 

    Change

 

    Contract#

 

    Return Slip

 

    Trade Total

 

    Terms

 

    Payment Tendered1

 

    Payment Tendered2

 

    Detailed Payments

 

    Trade Due Date

 

    Trade Disc Date

 

    Currency

 

    Alternate Language

 

 

Record Set: RSIC

 

  Column Names                 Comment

 

    Sequence#

 

    Comment

 

    Print

 

 

Record Set: RSID

 

  Column Names                 Comment

 

    Sequence#

 

    Product#

 

    Desc

 

    Type

 

    Quantity

 

    Unit

 

    Extended

 

    Tax1

 

    Tax2

 

    Discount%

 

    Serial#

 

    Date Billed From

 

    Date Billed Thru

 

    Time Billed From

 

    Time Billed Thru

 

    Rate Code

 

    Rate

 

    Hours Out

 

    Status

 

    Ratio

 

    Meter Out

 

    Meter In

 

    Hours Off

 

    Over-ride All

 

    Cylinder Part#

 

    Cylinder Desc

 

    Cylinders Delivered

 

    Cylinders Returned

 

    Contract Detail Trx#

 

    Print

 

    Meter Used

 

    Meter Allowed

 

    Meter Quantity

 

    Meter O/T

 

    Meter Amount

 

    Exchange Trx#

 

    Detail Trx#

 

    Billed Desc

 

 

Record Set: RSEX

 

  Column Names                 Comment

 

    Detail Trx#

 

    Date

 

    Time

 

    Old Product#

 

    Meter In

 

    Meter Used

 

    Comment

 

 

Record Set: RSCR

 

  Column Names                 Comment

 

    Detail Trx#

 

    Rate Code

 

    Desc

 

    To Hours

 

    Rate Hours

 

    Rate

 

    Alt. Language Desc

 

    Meter Included

 

    Over-Time Meter

 

    Base Amt

 

    Base Hours

 

    Surcharge

 

    New Rate

 

    Effective Date

 

    New Base Amt

 

    New Surcharge

 

    New Over-Time Meter

 

    Maintenance Rate

 

 

Record Set: RSCD

 

  Column Names                 Comment

 

    Product#

 

    Desc

 

    Date Out

 

    Time Out

 

    Status

 

    Qty Outstanding

 

 

Record Set: RSIS

 

  Column Names                 Comment

 

    Sequence#

 

    Service Code

 

    Quantity

 

    Amount

 

    Extended

 

    Comment

 

    Print Comment

 

    Desc

 

    Prompt For Qty

 

 

Record Set: RSIT

 

  Column Names                 Comment

 

    Tax Code

 

    Amount

 

    Desc

 

 

Record Set: RSIP

 

  Column Names                 Comment

 

    Sequence#

 

    Desc

 

    Date

 

    Amount

 

    Card Type

 

    Authorization#

 

    Card#

 

    Card Name

 

    Card Expiry

 

    Tendered

 

 

Record Set: RSOR

 

  Column Names                 Comment

 

    Detail Trx#

 

    Off Rental Trx#

 

    Quantity

 

    Date Off

 

    Time Off

 

    Date On

 

    Time On

 

    Hours Off

 

    Comment

 

    Reason

 

 

Record Set: RSPR

 

  Column Names                 Comment

 

    Code

 

    Desc

 

    Rate Book

 

    Alt. Language Desc

 


 



 

Topic Keyword: VIEW_INVOICE