ArID

This method returns the primary key of an item (ar_numero) from a given item code.

Syntax:

oBiz.ArID(<cCodeArticle>)

Example:

*/ Instantiate end set the database location.

oBiz = createobject("bizinfo.application")

oBiz.cDatabasePath = "C:\WinBIZ Data"

oBiz.nCompany = 1000

oBiz.nYear = 2017

*/ Show the ID (primary key) of the item whose code is 'ABC123'.

messagebox(oBiz.ArID("ABC123"))

Was this article helpful?
0 out of 0 found this helpful