Macola Pervasive v7- PO History table

Hello,
I am trying to extract PO history from Macola.
I have the dictionary listing that describes each table and found a parcular table:  POLINHST

The description says that it has deleted PO information.

When I checked this table it holds history information so now I am confused.
Does this table hold both deleted and history?
Simon ChenNetwork AdministratorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pcelbaCommented:
First of all I am not Macola expert...

Obvious scenario of moving information (PO especially) to history is following:
1) Identify records which should be moved to history
2) Move records to history
3) Delete records from original table (because we don't need them in live data any more)

So, I would say the description is correct but the history table does not contain PO records deleted from original table before their moving to history... E.g. when user creates a PO and immediately decides it was a mistake and deletes it. I don't see any reason to collect such POs.

BTW, the table name POLINHST could mean it contains just "PO lines history", so you should look for "PO headings", as well.
0
Simon ChenNetwork AdministratorAuthor Commented:
Hello pcelba,
Thank you for the response.

I actually want to extract PO history information from Macola into another DB.  However, I am not too sure which table to look at.

The description of the POLINHST says that it contains deleted PO information but I am not too sure how correct that description is.  I do not see any other table that pops out that would make me believe it contains PO history information.  Does Macola see history information as deleted records?

There is a SOLINHST table, and it's description makes more sense, it says : this table holds Sales Order history information.

The name scheme between the PO and SO tables r the same but with very different descriptions.
0
pcelbaCommented:
Suppose Macola allows both following operations then PO = Purchase Order, SO = Sales Order.

The "deleted" and "history" could just be different wording of the same opeartion. You should look into these tables and decide about the data which are inside if PO and SO abbreviations mean what is above written. And it could also be process differences for PO and SO in Macola - PO is created locally, so it can be deleted whereas SO are created from the external request, so they cannot be deleted but they could be cancelled.

You should also look if there are more table names beginning with PO or SO.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pcelbaCommented:
If irietek does not close this question then I would recommend to delete it with no points refund.
0
Simon ChenNetwork AdministratorAuthor Commented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Databases

From novice to tech pro — start learning today.