Skip to main content
Solved

Does the SOLineSplit.IsAllocated field work on a GI?

  • January 18, 2023
  • 8 replies
  • 112 views

Forum|alt.badge.img

Trying to add SOLineSplit.IsAllocated field to a GI but seems to always be blank.

 

Best answer by BenjaminCrisman

@jwarren I would use just OrderType = OrderType and OrderNbr = OrderNbr, this should be the correct links.

For me the sOOrderType and sOOrderNbr fields are blank.

View original
Did this topic help you find an answer to your question?

8 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 704 replies
  • January 18, 2023

Hi @jwarren! I think for this issue the problem is that the field is probably calculated, and so it might require a simple calculation and applied Schema field to work.

Try using an expression like =iif([SOLineSplit.IsAllocated]=1, 1, 0) 

Next use the SOLineSplit.IsAllocated field as the schema in the next field over to make sure it recognizes it as a checkbox


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • January 18, 2023
BenjaminCrisman wrote:

Hi @jwarren! I think for this issue the problem is that the field is probably calculated, and so it might require a simple calculation and applied Schema field to work.

Try using an expression like =iif([SOLineSplit.IsAllocated]=1, 1, 0) 

Next use the SOLineSplit.IsAllocated field as the schema in the next field over to make sure it recognizes it as a checkbox

Hey Ben,

 

Have set it up as such:

 

But getting same results:

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 704 replies
  • January 18, 2023

@jwarren I would double check the joins you are using in the GI then because it appears for me when I use the table by itself with no expression, and the DAC Schema shows it is not a virtual field, so it should be presentable in the GI:

Chances are this is getting lost somewhere in the relations.

I would peel back some relations and deactivate them to see when the IsAllocated field populates again and start adding relations back until you are certain you spot the relation which, when active, causes the IsAllocated to drop off.
It might also be a good idea to just toss the SOLineSplit table into a GI by itself and make sure it is accurately showing on its own too


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • January 18, 2023

Thanks - I will give that a shot.

Here are my relations - spot anything blatant that could be cause?

 


BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • 704 replies
  • Answer
  • January 18, 2023

@jwarren I would use just OrderType = OrderType and OrderNbr = OrderNbr, this should be the correct links.

For me the sOOrderType and sOOrderNbr fields are blank.


Forum|alt.badge.img+3
  • Pro II
  • 76 replies
  • January 18, 2023

Suggest you use the Schema Browser to check things like this.

https://help.acumatica.com/dacBrowser/PX.Objects.SO/SOLineSplit

It’s not a virtual field so should display in a GI. 

You are missing LineNbr in your join to SOLine - Schema Browser should also make this apparent.


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • January 18, 2023
RoyceLithgo wrote:

Suggest you use the Schema Browser to check things like this.

https://help.acumatica.com/dacBrowser/PX.Objects.SO/SOLineSplit

It’s not a virtual field so should display in a GI. 

You are missing LineNbr in your join to SOLine - Schema Browser should also make this apparent.

Right - actually had the Linenbr in there but cut off in my screenshot.

 


Forum|alt.badge.img
  • Author
  • Varsity III
  • 112 replies
  • January 18, 2023
BenjaminCrisman wrote:

@jwarren I would use just OrderType = OrderType and OrderNbr = OrderNbr, this should be the correct links.

For me the sOOrderType and sOOrderNbr fields are blank.

That’s it Ben.

 

This is what has solved it for me. The SOordertype, SOorderNbr, and SOLineNbr fields were providing blanks. Once I updated these as you suggested it now shows as expected.

 

Meant to give you best answer but clicked wrong comment…

 

Jack


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings