Académique Documents
Professionnel Documents
Culture Documents
2. Confirmer l’Impression
sChaîneTmp est une chaîne=LISTE_Bluetoth
SAI_id=ExtraitChaîne(LISTE_Bluetoth,1,TAB)
SAI_adresMac=ExtraitChaîne(LISTE_Bluetoth,2,TAB)
SAI_nom=ExtraitChaîne(LISTE_Bluetoth,3,TAB)
Code d’Impression
tw est une chaine = "SerialPortServiceClass_UUID"
sAdressImp = SAI_adresMac
sk = SAI_nom
sp = ""
REQ_Vente.ParamDate = DateVersChaîne(DateSys)
REQ_Vente.ParamNumFact = SAI_nfact
HExécuteRequête(REQ_Vente)
sImp += gsNomOrganisa+RC
sImp += "_______________________________"+RC
sImp += " " + gsAdress+RC
sImp += " " + gsAdres2+RC
sImp += " " + gsAdres3+RC
sImp += gsTelephone+RC
sImp += gsAdressMail+RC
sImp += gsSiteWeb+RC
sImp += "_____________________"+RC
hHeure est une Heure = HeureSys()
sImp += "Connexion :" + gsNomPers +RC
sImp += "Date :"+DateVersChaîne(DateSys)+"-" + "Heure:" +SAI_heureentr+RC
sImp += "_____________________"+RC
sImp += "Client(e) :" + gsNomPers +RC
sImp += "_______________________"+RC
sImp += "BON DE RECEPTION N0 : " + "LAWR REC" + SAI_nfact+RC
sImp += "------------------"+RC
sImp += "Produit Recu -- Qte"+RC
SAI_PTFact = 0
SI HLitRecherchePremier(T_Facture_Reception,Num_Facture,SAI_nfact) ALORS
POUR TOUT T_Reception AVEC Num_Facture = SAI_nfact
SAI_selarticle = ""
SAI_selarticle = T_Reception.designat
SAI_Qté_entree = T_Reception.qtev
FIN
FIN
sImp += "____________________"+RC
SI HLitRecherchePremier(T_Facture_Reception,Num_Facture,SAI_nfact) ALORS
T_Facture_Reception.Vald = "OUI"
T_Facture_Reception.Type_Facture= "Reception"
T_Facture_Reception.Etat_Fact = "Imprimer"
T_Facture_Reception.Impression = "OUI"
HModifie(T_Facture_Reception)
SINON
FIN
Xbuf = sImp