Francais Francais English English

TRANSFER DAILY PRODUCTION MONITORING

3 functions are required to complete the transaction :

This set of functions allows the reporting of quantities produced the previous day for each production site/product.

Usage Example

WINDEV / WEBDEV

SI EXIM_connect("user","password","IDPeer") = Faux ALORS
        Info("Connection failed")
        RETOUR
FIN

listeDemande est un MONITORING_list

listeDemande = MONITORING_getList()

SI tableauOccurence(listeDemande.listOfAttempt) <> 0 ALORS
        QUAND EXCPETION DANS
                POUR i = 1 _À_ TableauOccurrence(listeDemande.listOfAttempt)
                        // Providing all elements of the production monitoring request
                        // ...

                FIN
        FAIRE
                listeDemande.MONITORING_result = exceptionInfo()
        FIN

        MONITORING_setList(listeDemande)
FIN

Structure of Exchanged Data

MONITORING_list

MONITORING_result is a string -> message area allowing specification of an error encountered during data loading.
listOfAttempt is an array of MONITORING_Detail.

MONITORING_Detail

plantCode is a string                   -> site code
productCode is a string                 -> product code (* = total daily production)
dateOfProduction is Date                -> production date
quantity is real                                -> produced quantity
unity is a string // T, M3              -> unit