简体   繁体   English

如何在navision中检索以前的记录

[英]How to retrieve the previous record in navision

I'm new to navision, and I need need to retrieve the previous record from a table because I need its records. 我是navision的新手,我需要从表中检索以前的记录,因为我需要它的记录。 So my question is : how can I retrieve the record that's just before the one I'm working with? 所以我的问题是:我该如何检索正在处理的记录之前的记录?

explanation : I'm seaching but can't really find what I need on google. 说明:我正在搜寻,但是在Google上找不到真正需要的东西。 I actually can't use .GET() as one of the fields in the primary key varies from record to record. 我实际上不能使用.GET(),因为主键中的字段之一因记录而异。 what I need to do is calculate the difference in a field form a record and the previous eg : 我需要做的是计算一条记录与上一个字段之间的差异,例如:

curent record : total : 150 previous : total : 100 当前记录:总计:150前一个:总计:100

what I need to do is to retrieve the total of the previous record in order to store the difference in another record. 我需要做的是检索以前的记录的总数,以便将差异存储在另一个记录中。 current record : difference : 50 当前记录:差异:50

NEXT(-1) NEXT(-1)

Are you banned by google and microsoft simultaneously? 您同时被Google和Microsoft禁止吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM