Daniel Assunção 0 Posted March 10, 2020 Report Share Posted March 10, 2020 Olá, Desdejá peço desculpas se coloquei o Tópico no local errado, mas estou precisando de ajuda com este sistema. estou tentando criar um relatório, mas estou com problemas para entender o por que o mesmo não corresponde o que estou pensando. Segue o código efetuado itemEntryType.RESET; itemEntryType.SETRANGE("Entry No.","Item Ledger Entry"."Entry No."); IF (itemEntryType.FINDSET = itemEntryType.Open) THEN BEGIN REPEAT itemEntryType.SETRANGE("Entry Type", itemEntryType."Entry Type"::Sale); //IF ("Entry Type" = "Entry Type":: Sale) THEN //BEGIN IF itemEntryType.FINDLAST THEN endDateSale := "Item Ledger Entry"."Posting Date"; //END; UNTIL itemEntryType.NEXT=0; END ELSE BEGIN REPEAT itemEntryType.SETRANGE("Entry Type", itemEntryType."Entry Type"::Purchase); //IF("Entry Type" = "Entry Type"::Purchase) THEN //BEGIN IF itemEntryType.FINDLAST THEN endDatePurc := itemEntryType."Posting Date"; //END; UNTIL itemEntryType.NEXT=0; END Quero ir em uma tabela » Item Leger Entry, emitir um relatório emque da coluna Posting Date, eu retire as últimas datas dos lançamentos. Compra e Vendda colocar um lado a lado de cadada produto. Só que o que eu fiz ele me traz uma data estranha . Atenciosamente Daniel Assunção Humildade sempre. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now