I have an Iventory - invoicing program to track and bill materials used. Recently I wanted to change the ID codes in my inventory table and then I needed to update the invoice detail records to maintain the link on the past records.
I started by adding the new id fields to both tables. I then assigned new unique ids to the inventory. I now had both the old and new ID's in the inventory and the new id field in the invoice detail table which needed to be updated with the new inventory id code.
I created a "posting operation" where the master file was the invoice detail table and the transaction file was the inventory table. I matched on the old ID and replaced the master table new ID with the transation table new ID. This worked exactly as expected with all id fields properly filled in.
THE PROBLEM is that the invoice number field was blanked out on over half of the records in the master table. This destroyed the link between invoice header and invoice item table. There was no reference to this field in the posting operation definition and there should have been no change to this field. These two tables were opened by themselves and not part of a set. The invoice detail table does have multiple occurrances of many of the inventory items but they all updated properly even though Alpha steps through the transaction file instead of the master file.
QUESTIONS:
1> Has anyone else had this problem?
2> Am I using the posting operation improperly?? It worked fine on the fields called out in it. I got the results I expected in those fields.
3> Is this problem new in version 4.5
Input anyone?
Dan
I started by adding the new id fields to both tables. I then assigned new unique ids to the inventory. I now had both the old and new ID's in the inventory and the new id field in the invoice detail table which needed to be updated with the new inventory id code.
I created a "posting operation" where the master file was the invoice detail table and the transaction file was the inventory table. I matched on the old ID and replaced the master table new ID with the transation table new ID. This worked exactly as expected with all id fields properly filled in.
THE PROBLEM is that the invoice number field was blanked out on over half of the records in the master table. This destroyed the link between invoice header and invoice item table. There was no reference to this field in the posting operation definition and there should have been no change to this field. These two tables were opened by themselves and not part of a set. The invoice detail table does have multiple occurrances of many of the inventory items but they all updated properly even though Alpha steps through the transaction file instead of the master file.
QUESTIONS:
1> Has anyone else had this problem?
2> Am I using the posting operation improperly?? It worked fine on the fields called out in it. I got the results I expected in those fields.
3> Is this problem new in version 4.5
Input anyone?
Dan
Comment