项目(销售)需要逻辑帮助 [英] Logic help is needed for a Project (Sale-Purchase)

查看:64
本文介绍了项目(销售)需要逻辑帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个项目,可以在其中购买,销售,付款和接收条目
没问题.

现在的问题是我需要一份报告.

例如,

I am Developing a project where Items can be purchase, sales, payment, receive Entry
No Issues regarding that.

Now the problem is i need a report.

For Example,

purchase bills:

P1  --   Qty              p2 --  Qty               P3  --   Qty
-----------         -----------         -----------
Item1 -- 10            Item2-- 11            Item1  -- 24
Item2 -- 15            Item3-- 14            Item3  -- 14
Item3 -- 12            Item4 --20            Item4  -- 4 


Sales Bills

s1    Qty                 S2   Qty                   S3      Qty
----------               ----------                  ------------
Item 3--  8               Item3--  3                  Item3 --  10
:                         :                         : 
:                         :                         :
:                         :                         :



The Report Should appear Depending on purchase 

P1
 Item --- Item3  Total Qty -12
 1   s1   --   8
 2   s2   --   3
 3   s3    --  1 
Item  Item1 ....Total Qty ##
 1     s..  --  ##
 2    s...  --  ##
Item  Item2 ....Total Qty ##
 1     s..  --  ##
 2    s...   -- ##

P2
Item --- Item3  Total Qty -14
 1   s3    --  9 
 2   s55  --   2
 3   S99   --  3




供您参考.这在商务中被称为入境单报告. tally9也未提供此功能.我从客户那里得到了这个项目.他们需要将此类报告发送给海关(政府)

我没有主意.请帮帮我.
我非常紧急地需要此方法.




For your information. This is called as Bill of Entry Report in Commerce. This feature is not provided by tally9 as well. I got this project from a Customer. They need to send these kind of report to Custom Department(govt.)

I am not getting the Idea. Please help me.
I need this very urgently.

推荐答案

您需要设计一个包含各个项目,其类型和项目数的表.有了该表后,就可以对其进行遍历并编写报告.

我不得不说我已经读了几次您的原始问题,以及您对其他提问者的所有回答,而且还不清楚您的实际问题是什么.

应OP的要求将其添加为解决方案".
You need to design a table containing the individual items, their type, and the count of items. Once you have that table you can iterate through it and write your report.

I have to say I have read through your original question a couple of times, and also all the responses you have given to other questioners, and it is far from clear what your actual problem is.

Added this as ''solution'' at the request of OP.


您的紧急"需求等同于我等到最后一分钟才做作业",这不是我们的问题.

您的代码中有数据.您需要对其进行迭代并以您提供的格式发出它.这既是显而易见的,也是我们无法添加的.您需要尝试编写代码,然后在遇到特定问题时发布代码,以便我们提供帮助.更好的是,与您的老师联系并告诉他您迷路了,这样他就可以知道您在哪里挣扎,并提供帮助.
Your ''urgent'' need equates to ''I waited until the last minute to do my homework'', which is not our issue.

You have the data in your code. You need to iterate over it and emit it in the format you provided. This is both obvious and something we can''t add to. You need to try to write the code, and then when you have a specific issue, post the code so we can help. Better yet, contact your teacher and tell him you''re lost, so he can both know where you''re struggling, and offer his help.


这篇关于项目(销售)需要逻辑帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆