BinContent.SETRANGE("Item No.", Item."No."); BinContent.CALCFIELDS(BinContent.Quantity); //IF (BinContent.FIND('-')) THEN IF BinContent.FINDSET THEN BEGIN IF (BinContent.Quantity = 0) THEN BEGIN BinContent.DELETE(TRUE); END ELSE BEGIN CurrDataport.SKIP; END; END;
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
now I try....
GRAZIE !
I don't know why !!
If I go in the BIN CONTENT table and I look for the "Item No." desired, the "Quantity" seems to be 4 Item, but if I debug the quantity is 0........
and obviously the Dataport try to delete, but when the trigger "OnDelete" of the table 7302 Bin Content start the "Quantity", correctly, is 4 and then dump....
:?:
This should fix the SIFT-information on SQL. Probably this is wrong because of a bug.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Now I try to workaround the problem by take the information of "Quantity" in another table (the "Inventory" Field on "ITEM")... seems working, but is a very very strange way....