Hello,
I don't understand how does the "Document Type" filter work on sales/purchase forms.
So far as I know, the form property
"SourceTableView" has table filter.
I am creating a similar forms (Setting SourceTableView = WHERE(Document Type=FILTER(Invoice)). But the filter fail when there is no record exist in the table.
System always init the record with optionString value = 0 (Quotation). So when user save the record, the record Document Type becomes Quotation.
Can anyone explain me how does the Document Type filter works on Sales/Purchase form ?
Thanks.
Comments
I think you have somewhere in your code (form or table) something that clears the record like a CLEAR.
You should check with the debugger wich code is executed and the values "Document Type" takes.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!